Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gh 788 qa amoy #561

Closed
wants to merge 156 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
156 commits
Select commit Hold shift + click to select a range
e403d0a
test for routing_engine failing on wrong country code
czarte May 25, 2024
2023ce4
target_country_opt variable to RouteQueryMessage
czarte May 29, 2024
4585293
adding exit_location to routing engine
czarte Jul 5, 2024
bad2501
exit country added to routing engine, not working
czarte Jul 9, 2024
aee6a1f
implemented undesirability for country_code, find_best_route_segment …
czarte Jul 10, 2024
7828513
add extra processing for compute_undesirability for hostname_opt and …
czarte Jul 11, 2024
f5079c9
formatting
czarte Jul 15, 2024
8573539
test for logging unreachable country_code ExitNode
czarte Jul 15, 2024
b2e2012
added second log assertion to test tracing unreachable ExitNode with …
czarte Jul 15, 2024
ec58336
TODO for #802 issue
czarte Jul 16, 2024
77d9cd9
continue of code review changes
czarte Jul 17, 2024
c974b66
test for panic in handle_retrieve_transactions
czarte Jul 19, 2024
c859541
fixing more comments from review
czarte Jul 23, 2024
3c93749
removing TODO
czarte Jul 23, 2024
0d50bbe
implementing review, added two new tests for ip_country
czarte Jul 24, 2024
15fa3ee
removing unnecesary country_code from node_descriptor
czarte Jul 26, 2024
4c2d57b
added cfg(test) and cfg(not(test)) for static ref COUNTRY_CODE_FINDER…
czarte Jul 26, 2024
75fb708
change country_code member of NodeRecordInner_0v1 to country_code_opt
czarte Jul 26, 2024
78cc0c2
simplifying tests in node_record.rs and neighborhood_database.rs
czarte Jul 26, 2024
fe8a9b4
resolving review comments
czarte Jul 30, 2024
bf10d81
final changes in gossip_acceptor from review
czarte Jul 31, 2024
bec7b8b
continue of implementing review comments
czarte Jul 31, 2024
1a74962
fix test return value
czarte Jul 31, 2024
f750f01
added ip_country to ci/all.sh
czarte Aug 7, 2024
002a311
cherry-pick from GH-784-fix-for-Vojta and implementing iterator for d…
czarte Aug 7, 2024
7cd7c0d
try to create test for fmt
czarte Aug 7, 2024
bc7a6cc
tests for print ip v4 and v6 vec[u8] in country_block_serde.rs
czarte Aug 8, 2024
69f79c5
ci for ip_country + resolved conflicts of clippy
czarte Aug 13, 2024
b0d8958
masq_lib dependencies solved
czarte Aug 14, 2024
f549131
dependency masq_lib for ip_country in node workspace
czarte Aug 14, 2024
ac3f186
remove commented out code + fix condition for non empty bit_queue
czarte Aug 14, 2024
e72ae56
formatting
czarte Aug 14, 2024
f5bb091
5 seconds for wait_for_log in requested_chain_meets_different_db_chai…
czarte Aug 15, 2024
2771e36
fixing impl for AGR in multinode tests
czarte Aug 15, 2024
715587e
formatting
czarte Aug 15, 2024
44db161
fix nonexistent NodeAddr in multinode tests for AGR
czarte Aug 16, 2024
d5307f3
change single match to if
czarte Aug 16, 2024
201cced
try to fix build in actions for MacOS
czarte Aug 19, 2024
e974e67
try to find out disk space on MacOS container in Actions
czarte Aug 19, 2024
f5f4afc
add diagnostics commands on failure
czarte Aug 19, 2024
859452b
check diskspace before ci/all.sh workflow runs
czarte Aug 19, 2024
6627715
diagnose mounted disks
czarte Aug 19, 2024
3ce6ac3
analyze /var/ diskspace
czarte Aug 19, 2024
b350db9
remove advanced diagnosticst for disk space
czarte Aug 20, 2024
8463d3d
switch macos to version 13
czarte Aug 20, 2024
7406b6f
diagnostics for /Users/runner/work/Node/Node/node/target/release
czarte Aug 21, 2024
9dd7982
fasten diagnostics
czarte Aug 21, 2024
e316e6c
fasten diagnostics fix
czarte Aug 21, 2024
c803f56
fasten diagnostics back
czarte Aug 21, 2024
b85253a
test for mac-os build without masq_lib for ip_country
czarte Aug 21, 2024
26c67c4
remove masq_lib from ip_country
czarte Aug 21, 2024
92bcc5b
starting with UI setup for Exit Location
czarte Aug 22, 2024
b9d07b3
GH-784-review-two-state: fixes that could work on Actions, appeasing it
Aug 23, 2024
6b4e775
fixing review
czarte Aug 30, 2024
b7553ad
implementing CountryBlock count in generated rs file, and infrastructure
czarte Aug 30, 2024
68719e3
fixing ip_country tests
czarte Aug 30, 2024
48a3857
fix import of ip_country to multinode_integration_tests
czarte Sep 2, 2024
56d6010
formatting
czarte Sep 2, 2024
5b44e6b
fix the reference for COUNTRY_CODE_FINDER
czarte Sep 2, 2024
a956ff2
merget GH-784-review-two-state into branch
czarte Sep 5, 2024
16f5bfa
exit location for shared_schema, set_configuration_command, configura…
czarte Sep 5, 2024
15b0c9a
tests for persistent_configurator_mock, and valdator ..string_u64_val…
czarte Sep 9, 2024
aa4e579
test for trigger todo for implement validate_parameter_with_separate_…
czarte Sep 10, 2024
719af15
add ip_country dependency to masq_lib, validation for exit-location i…
czarte Sep 10, 2024
b6c0c26
validate pipe separated values with closure from particular validators
czarte Sep 11, 2024
bd61b23
starting work on neighborhood modification
czarte Sep 12, 2024
f035d2d
test for exit location in large patch
czarte Sep 13, 2024
2f518d6
implementing exit_location
czarte Sep 17, 2024
b5a3622
ExitLocation struct and its members to messages.rs, set_exit_location…
czarte Sep 20, 2024
2c3a3dd
implemented country-codes and fallback-routing into MessageBody for N…
czarte Sep 23, 2024
a62fea7
completed test for c
czarte Sep 24, 2024
fdcfcab
implemented handler for exit_location_opt, rename exit_loctation to e…
czarte Sep 29, 2024
85a3835
fmt for HashSet<ExitLocation>, finished the assertions in test exit_l…
czarte Sep 29, 2024
c4890f2
cleanup, test for fallback-routing: false, logger for fallback-routin…
czarte Sep 29, 2024
304363a
change exit_locations_opt from HashSet to HashMap
czarte Sep 30, 2024
acf9999
clearing bootstrapper config
czarte Oct 1, 2024
39aa160
country_undesidability to NodeRecordMetadata
czarte Oct 2, 2024
88306ae
added member for NodeRecordMetadata and processing for country_undesi…
czarte Oct 2, 2024
39b2c5b
added assertion message for assert on db change in actor
czarte Oct 2, 2024
52a659a
refacotring neighborhood_test_utils: extracted make_segmented_ip, and…
czarte Oct 3, 2024
7d65f9b
added unset exit_location logic with test
czarte Oct 3, 2024
6152a9e
change name of test
czarte Oct 3, 2024
5bc34df
merge GH-784 into GH-468
czarte Oct 3, 2024
6578185
fiixing tests for set_exit_location_command, fixing log assertion for…
czarte Oct 4, 2024
fe74815
added assertion on neighborhood to exit_location tests
czarte Oct 7, 2024
e7be714
pull request branch changed to GH-784
czarte Oct 7, 2024
d2adbfe
formatting
czarte Oct 7, 2024
2c09618
fixing comments from review
czarte Oct 7, 2024
867134b
polishing helps
czarte Oct 8, 2024
9a4c1a0
addressing comments from review
czarte Oct 8, 2024
5a234df
polishing helps for exit-location
czarte Oct 9, 2024
9e1c1c7
add use super::*; to tests use
czarte Oct 9, 2024
fff1c3d
add cfg(test) for tests in set_exit_location_command
czarte Oct 9, 2024
3456b2e
fixing clippy complains
czarte Oct 10, 2024
516712a
fix multinode neighborhood constructor
czarte Oct 10, 2024
24ab306
rename set_exit_location_command.rs to exit_location_command.rs
czarte Oct 10, 2024
f14ab6d
add protection for empty Neighborhood DB
czarte Oct 10, 2024
4be9596
change protection for empty Neighborhood
czarte Oct 10, 2024
9a4c687
fixed shared schema, added exit location to --help of masq
czarte Oct 11, 2024
eb3ca81
set version for sccache
czarte Oct 14, 2024
aa01112
add lifetime for daemon_shared_app fn return
czarte Oct 14, 2024
c3e36f2
fixing log assertion in tests, add db to exit location test, fix app …
czarte Oct 14, 2024
129ec37
introduce test utilities
czarte Oct 15, 2024
7174c9f
remove unused import - localhost linux compile and passes all ip_coun…
czarte Oct 16, 2024
e21b545
addressing comments from review
czarte Oct 17, 2024
9208137
addressing comments from review, refactoring Neighborhood for exit-lo…
czarte Oct 21, 2024
0771086
fix tests for separate_u64_values
czarte Oct 22, 2024
60dc65a
add Eq to ExitPreference
czarte Oct 22, 2024
de2a90d
rearranged test_utilities, fix to exit_location_handler and its tests
czarte Oct 22, 2024
6307d39
fixing ByteArrayWriter and Reader for masq
czarte Oct 23, 2024
34ee03b
added more nodes to exit_location test with fallback to test UNREACHA…
czarte Oct 23, 2024
b85eaf5
move test_utilities to dev-dependencies
czarte Oct 24, 2024
56ae969
test_utilities from dev to production dependencies in masq_lib
czarte Oct 24, 2024
9932e02
formatting help
czarte Oct 25, 2024
c628ca8
formatting help
czarte Oct 25, 2024
0da1a22
review 3 - refactoring message handler for exit location, and few min…
czarte Oct 25, 2024
4a53523
country codes for NodeRecords in tests Neighborhood DBs, constants fo…
czarte Oct 27, 2024
c2e57dc
formatting
czarte Oct 28, 2024
c024595
fix todo comment, and formatting
czarte Oct 29, 2024
dddc69a
exit-loaction data structures moved into the ExitTools, cloned into N…
czarte Oct 30, 2024
2474e75
implemented adding country_undesirability for introducer and debutant
czarte Oct 31, 2024
6f4c6d1
formatting and remove unnecesary let
czarte Nov 1, 2024
e43083f
fallback routing assertion change
czarte Nov 1, 2024
cc24a1f
formatting
czarte Nov 1, 2024
a7351e6
rename ExitTools
czarte Nov 3, 2024
641001e
fix request for neverssl.com to impersonate user-agent
czarte Nov 4, 2024
39c2ec3
merge GH-468-545 to GH-788
czarte Nov 5, 2024
5eff1d7
changes in test for country_code_route, remove country_code_opt from …
czarte Nov 6, 2024
9c0d116
working exit country selection wihtout fallback, introduces new struc…
czarte Nov 7, 2024
d550a3c
start of implementing find_exit_location
czarte Nov 8, 2024
8b25698
changes to create db_countries
czarte Nov 8, 2024
10afc2a
completed process for db_countries and routign_engine for fallback_ro…
czarte Nov 11, 2024
89d4a4f
handling missing locations in NeighborhoodDB
czarte Nov 12, 2024
ce70127
introduced Error responose for ExitLocation handler, adjusted tests, …
czarte Nov 13, 2024
f516f53
modified routing engine to harvest more exit nodes from Neihgborhood DB
czarte Nov 18, 2024
ae8547d
implemented recursion for research neighborhood, adjusted tests, miss…
czarte Nov 19, 2024
0493290
fix research_neighborhood in routing_engine, new recursion call for r…
czarte Nov 20, 2024
ef6432c
formatting and compiler complains resolved
czarte Nov 21, 2024
7ee0024
test for db_countries setting on handle gossip
czarte Nov 27, 2024
d4fec75
completed test for newly introduced exit node, added assertions, works
czarte Nov 28, 2024
ce8e766
test for removing exit location of last node with particular country …
czarte Nov 28, 2024
5d67816
formatting
czarte Nov 29, 2024
15b65cf
removing comments, introducing TODOs
czarte Nov 29, 2024
22d791e
unit test for init_db_countries(), removed duplicit test for handle g…
czarte Nov 29, 2024
37f513a
added --show-countries for exit-location subcommand for testing purposes
czarte Nov 29, 2024
f2c1994
first cherry pick from amoy commit b2a3ebf85199b3c1a6620a9047aaab4109…
Apr 2, 2024
0861864
added amoy network
czarte Dec 4, 2024
a66de41
formatting
czarte Dec 8, 2024
f664481
amoy fixing
czarte Dec 8, 2024
62a0c42
Merge branch 'GH-788-QA-amoy' of https://github.com/MASQ-Project/Node…
czarte Dec 8, 2024
62d8ef9
fixing routing engine for direction back in route, and fallback-routi…
czarte Dec 11, 2024
c128e40
create prefix with capacity
czarte Dec 13, 2024
e0fadbe
start of implementing the linked list in routing engine
czarte Dec 16, 2024
30bb91b
workin progress on routing engine with linked list
czarte Dec 16, 2024
63a4d3d
implemented linked list Rc - routing not working
czarte Dec 17, 2024
c2e8018
optimization of routing engine
czarte Dec 18, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
TODO for #802 issue
czarte committed Jul 16, 2024
commit ec583369499a7997bf7cee74b52754d743e7b027
2 changes: 2 additions & 0 deletions masq/src/commands/set_configuration_command.rs
Original file line number Diff line number Diff line change
@@ -84,6 +84,8 @@ pub fn set_configuration_subcommand() -> App<'static, 'static> {
.args(&["gas-price", "min-hops", "start-block"])
.required(true),
)
//TODO here is the place we want to place function to set country_code for ExitService,
// this function will be used in shared_app to setup the country_code for ExitService on startup
}

#[cfg(test)]