-
Notifications
You must be signed in to change notification settings - Fork 782
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
Add started_elections topic to websockets #3851
Add started_elections topic to websockets #3851
Commits on Jul 8, 2022
-
add started_election websocket topic and core_test
gr0vity committedJul 8, 2022 Configuration menu - View commit details
-
Copy full SHA for 732bf2e - Browse repository at this point
Copy the full SHA 732bf2eView commit details
Commits on Jul 9, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 88175db - Browse repository at this point
Copy the full SHA 88175dbView commit details -
gr0vity committed
Jul 9, 2022 Configuration menu - View commit details
-
Copy full SHA for 02988c4 - Browse repository at this point
Copy the full SHA 02988c4View commit details -
Merge branch 'develop_started_elections' of https://github.com/gr0vit…
…y-dev/nano-node into develop_started_elections
gr0vity committedJul 9, 2022 Configuration menu - View commit details
-
Copy full SHA for 8bc810a - Browse repository at this point
Copy the full SHA 8bc810aView commit details -
rpm build image, and signing container rpm build updates
Russel Waters authored and gr0vity committedJul 9, 2022 Configuration menu - View commit details
-
Copy full SHA for 761b649 - Browse repository at this point
Copy the full SHA 761b649View commit details -
Thiago Silva authored and gr0vity committed
Jul 9, 2022 Configuration menu - View commit details
-
Copy full SHA for 9869810 - Browse repository at this point
Copy the full SHA 9869810View commit details -
Changes the repo to be passed as argument
Thiago Silva authored and gr0vity committedJul 9, 2022 Configuration menu - View commit details
-
Copy full SHA for 753142f - Browse repository at this point
Copy the full SHA 753142fView commit details -
Removes the changelog generation from the RPM workflow
Thiago Silva authored and gr0vity committedJul 9, 2022 Configuration menu - View commit details
-
Copy full SHA for 234e15d - Browse repository at this point
Copy the full SHA 234e15dView commit details -
Sets the workflow scripts to use its ref/repo
Thiago Silva authored and gr0vity committedJul 9, 2022 Configuration menu - View commit details
-
Copy full SHA for 2cc4f03 - Browse repository at this point
Copy the full SHA 2cc4f03View commit details -
Better name for the RPM release variable
Thiago Silva authored and gr0vity committedJul 9, 2022 Configuration menu - View commit details
-
Copy full SHA for 3fd31ee - Browse repository at this point
Copy the full SHA 3fd31eeView commit details -
Improve maksrc build-centos.sh scripts
Thiago Silva authored and gr0vity committedJul 9, 2022 Configuration menu - View commit details
-
Copy full SHA for d277eb5 - Browse repository at this point
Copy the full SHA d277eb5View commit details -
Missing S3_BUILD_DIRECTORY var definition
Thiago Silva authored and gr0vity committedJul 9, 2022 Configuration menu - View commit details
-
Copy full SHA for 423f536 - Browse repository at this point
Copy the full SHA 423f536View commit details -
Thiago Silva authored and gr0vity committed
Jul 9, 2022 Configuration menu - View commit details
-
Copy full SHA for 7c07474 - Browse repository at this point
Copy the full SHA 7c07474View commit details -
confirmation_height_clear cli account param (nanocurrency#3836)
* confirmation_height_clear cli account param * Add back missing password option * Improve the error/help messages to the required account option - Improve the error message to say the account can be 'all' - Improve the confirmation_height_clear help message to inform the value 'all' can be passed to clear all accounts Co-authored-by: Thiago Silva <thiago@nano.org>
Configuration menu - View commit details
-
Copy full SHA for a21caaf - Browse repository at this point
Copy the full SHA a21caafView commit details -
Removes references to Travis CI from nano-node (nanocurrency#3755)
* Remove unused Travis CI script * Removes deploy-docker.sh as it is unused * Replacing mention to Travis to CI instead
Configuration menu - View commit details
-
Copy full SHA for 30ebf6c - Browse repository at this point
Copy the full SHA 30ebf6cView commit details -
Bound the unchecked store after the initial bootstrap amount has been…
… reached. This prevents the unchecked table size from increasing beyond reasonable bounds when it's in sync. # Conflicts: # nano/node/blockprocessor.cpp
Configuration menu - View commit details
-
Copy full SHA for e17545d - Browse repository at this point
Copy the full SHA e17545dView commit details -
Configuration menu - View commit details
-
Copy full SHA for ac999f2 - Browse repository at this point
Copy the full SHA ac999f2View commit details -
Only allow 2 entries to have the same dependency.
# Conflicts: # nano/secure/store/unchecked_store_partial.hpp
Configuration menu - View commit details
-
Copy full SHA for 0bc1cf8 - Browse repository at this point
Copy the full SHA 0bc1cf8View commit details -
Disable vote_processor flushing within the request loop which can blo…
…ck under heavy vote load.
Configuration menu - View commit details
-
Copy full SHA for 88a107c - Browse repository at this point
Copy the full SHA 88a107cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8567a2d - Browse repository at this point
Copy the full SHA 8567a2dView commit details -
Bugfix: correctly check for magic bytes and network in message header
The network bytes (magic bytes), the first 2 byts of the header, were not correctly checked. They were checked in the network class inbound function but that function is called for realtime messages after the handshake is completed. It is not called for bootstrap messages not handshake messages. Also the version checking was not done properly so I am doing it now properly immediately after the magic bytes tests. The checks are done at the following 3 places: * nano::bootstrap_server::receive_header_action * nano::transport::tcp_channels::start_tcp_receive_node_id * nano::message_parser::deserialize_buffer The last one is likely only used by UDP and test scripts that use UDP. So we should be able to remove the last one when we remove the UDP code. # Conflicts: # nano/core_test/network.cpp
Configuration menu - View commit details
-
Copy full SHA for 86c63f8 - Browse repository at this point
Copy the full SHA 86c63f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for b9bd38e - Browse repository at this point
Copy the full SHA b9bd38eView commit details -
Improves the vote processor class and limits its flush() (nanocurrenc…
…y#142) - Limit the vote_processor::flush_active() - The is_active var became useless, also moved the lock position - Move the condition.notify_all() up - Improve function flush documentation - Test normal behavior is getting more votes than processing - Also updated the invalid_signature test to ASSERT_TIMELY since it should wait for a flush to happen. - Also removed the lock for reading total_processed atomic variable - Explicitly check for timeout in unit test vote_processor.overflow - Vote processor: clear votes and notify condition variable on thread exit In theory the vote processor can be stopped and have votes left in its queue which would just be strange and a potential source of problems. Also, a final kick of the condition variable is needed on thread exit and after vote clearing. - Check for confirm req loop blocking too long on vote process flush This has been a problem in the past and it is always tricky to do flush operations, so it is prudent to add a check for timeout here and display a warning in release and throw an assert in debug builds. - Use std::memory_order_relaxed in vote processor::flush for total_processed There is no need to take a memory barrier when reading the atomic total_processed, so use relaxed memory order. Co-Authored-By: Dimitrios Siganos <dimitris@siganos.org> Co-authored-by: Dimitrios Siganos <dimitris@siganos.org> # Conflicts: # nano/core_test/vote_processor.cpp
Configuration menu - View commit details
-
Copy full SHA for b0b4250 - Browse repository at this point
Copy the full SHA b0b4250View commit details -
Vote hinting reenable (nanocurrency#152)
* Remove unused `previous_balance` field and unnecessary ledger lookup * Add a new hinted election behavior * Adjust time to live for hinted elections * Reenable inactive vote cache with more aggressive threshold (big thanks to @trashman for tuning those parameters) * Fix `inactive_votes_cache_election_start` unit test * Add test for vote hinting election limit * Add config option for vote hinting limit * Use a counter for number of active hinted elections * Add more election stats * Revert "Add config option for vote hinting limit" This reverts commit d5a9fd5. * Use ratio as hinted election limit instead of absolute value * Naming change to `active_elections_hinted_limit_percentage` * Vote hinting cleanup # Conflicts: # nano/core_test/active_transactions.cpp # nano/lib/stats.cpp # nano/lib/stats.hpp # nano/node/election.cpp # nano/node/election_scheduler.cpp
Configuration menu - View commit details
-
Copy full SHA for d7a5828 - Browse repository at this point
Copy the full SHA d7a5828View commit details -
Removing unchecked.for_each_par as it's effectively unused.
This disables migrating of unchecked table from lmdb to rocksdb, however, this upgrade really isn't needed. # Conflicts: # nano/secure/store.hpp # nano/secure/store/unchecked_store_partial.hpp
Configuration menu - View commit details
-
Copy full SHA for d22ac4c - Browse repository at this point
Copy the full SHA d22ac4cView commit details -
Converting functions on unchecked_map that return iterators to instea…
…d use for_each with a functor to execute on each result. This prevents iteration details from being exposed externally. # Conflicts: # nano/core_test/block_store.cpp # nano/nano_node/entry.cpp # nano/node/json_handler.cpp # nano/node/lmdb/lmdb.cpp # nano/node/node.cpp # nano/secure/store.hpp # nano/secure/store/unchecked_store_partial.hpp
Configuration menu - View commit details
-
Copy full SHA for ce9e261 - Browse repository at this point
Copy the full SHA ce9e261View commit details -
Reimplementing nano::unchecked_store::get in terms of unchecked_store…
…::for_each and removing backend-specific variants. # Conflicts: # nano/node/lmdb/lmdb.cpp # nano/node/lmdb/lmdb.hpp # nano/node/rocksdb/rocksdb.cpp # nano/node/rocksdb/rocksdb.hpp # nano/secure/store/unchecked_store_partial.hpp
Configuration menu - View commit details
-
Copy full SHA for 71ec1d7 - Browse repository at this point
Copy the full SHA 71ec1d7View commit details -
Adding a memory container for blocks once the initial bootstrap thres…
…hold is reached. Blocks are pruned in fifo order. # Conflicts: # nano/node/node.cpp # nano/secure/store/unchecked_store_partial.hpp
Configuration menu - View commit details
-
Copy full SHA for 17f281b - Browse repository at this point
Copy the full SHA 17f281bView commit details -
Commenting the transition from disk to memory.
Fixing rpc.unchecked_get which didn't get translated properly with the for_each conversion. # Conflicts: # nano/node/json_handler.cpp # nano/secure/store/unchecked_store_partial.hpp
Configuration menu - View commit details
-
Copy full SHA for bf54411 - Browse repository at this point
Copy the full SHA bf54411View commit details -
Configuration menu - View commit details
-
Copy full SHA for cfe3357 - Browse repository at this point
Copy the full SHA cfe3357View commit details -
Fix use after delete in cleanup_election()
fixes nanocurrency#154 # Conflicts: # nano/node/active_transactions.cpp
Configuration menu - View commit details
-
Copy full SHA for 769019f - Browse repository at this point
Copy the full SHA 769019fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 94b913f - Browse repository at this point
Copy the full SHA 94b913fView commit details -
Block constructors to builders conversion in unit tests (nanocurrency…
…#3841) * Block constructors to builders conversion in unit tests * Formatting fix
Configuration menu - View commit details
-
Copy full SHA for 5111bfc - Browse repository at this point
Copy the full SHA 5111bfcView commit details -
Adds a ledger_context class and ledger_empty function which can be us…
…ed by unit tests to easily create an empty ledger. This removes a lot of boilerplate code in associated tests. (nanocurrency#3848)
Configuration menu - View commit details
-
Copy full SHA for 288baeb - Browse repository at this point
Copy the full SHA 288baebView commit details -
gr0vity committed
Jul 9, 2022 Configuration menu - View commit details
-
Copy full SHA for 5e0a46e - Browse repository at this point
Copy the full SHA 5e0a46eView commit details -
Merge branch 'develop_started_elections' of https://github.com/gr0vit…
…y-dev/nano-node into develop_started_elections
gr0vity committedJul 9, 2022 Configuration menu - View commit details
-
Copy full SHA for 438a5c2 - Browse repository at this point
Copy the full SHA 438a5c2View commit details -
use block_builder and standard initialisation syntax
gr0vity committedJul 9, 2022 Configuration menu - View commit details
-
Copy full SHA for 34cbd37 - Browse repository at this point
Copy the full SHA 34cbd37View commit details