forked from bitcoin/bitcoin
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
llmq|rpc|test|version: Implement P2P messages QGETDATA <-> QDATA #3953
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
Merged
PastaPastaPasta
merged 50 commits into
dashpay:develop
from
xdustinface:pr-p2p-llmq-data
Jan 28, 2021
Merged
Changes from all commits
Commits
Show all changes
50 commits
Select commit
Hold shift + click to select a range
d08b8ab
version: Bump PROTOCOL_VERSION and MIN_MASTERNODE_PROTO_VERSION
xdustinface 4768c5e
version: Introduce LLMQ_DATA_MESSAGES_VERSION for QGETDATA/QDATA support
xdustinface 2fedc66
test: Bump MY_VERSION to 70219 (LLMQ_DATA_MESSAGES_VERSION)
xdustinface 4a1c833
llmq: Introduce CQuorumDataRequest as wrapper for QGETDATA requests
xdustinface 2bc6534
llmq: Implement CQuorum::{SetVerificationVector, SetSecretKeyShare}
xdustinface 987f210
llmq|net|protocol: Implement QGETDATA/QDATA P2P messages
xdustinface 6b5d6d7
llmq: Restrict processing QGETDATA/QDATA to masternodes only
xdustinface 74aecc0
llmq: Implement request limiting for QGETDATA/QDATA
xdustinface 1c70e1d
llmq: Implement CQuorumManger::RequestQuorumData
xdustinface 5045cbb
rpc: Implement "quorum getdata" as wrapper around QGETDATA
xdustinface 006ace6
test: Handle QGETDATA/QDATA messages in mininode
xdustinface 06ece29
test: Add data structures to support QGETDATA/QDATA
xdustinface 61e56b2
test: Add some helper in test_framework.py
xdustinface 5c7c565
test: Implement tests for QGETDATA/QDATA in p2p_quorum_data.py
xdustinface fdf00bb
test: Add p2p_quorum_data.py to BASE_SCRIPTS
xdustinface 06e05b6
llmq|test: Add QWATCH support for QGETDATA/QDATA
xdustinface db4e9b4
llmq: Store CQuorumPtr in cache, not CQuorumCPtr
xdustinface 5408d5d
llmq: Fix cache usage after recent changes
xdustinface 1418257
Use uacomment to create/find specific p2ps
UdjinM6 b70a12a
No need to use network adjusted time here, GetTime should be enough
UdjinM6 8b6f047
rpc: check proTxHash
UdjinM6 4e27d65
minor tweaks
UdjinM6 4206ad6
test: Adjustments after 4e27d6513e0073ed848ede262cfec82a9134abc0
xdustinface 8fdb7b9
llmq: Rename and improve error lambda in CQuorumManager::ProcessMessage
xdustinface 7fe5f31
llmq: Process QDATA if -watchquorums is enabled
xdustinface 57f3ee3
test: Handle qwatch messages in mininode
xdustinface e49a9a9
test: Add test for -watchquorums support
xdustinface 9862afc
test: Just some empty lines
xdustinface b4693b7
test: Properly stop the p2p network thread at the end of the test
xdustinface c97f18f
rpc: Adjust "quorum getdata" parameter descriptions
xdustinface 6710fbd
rpc: Fix optionality of proTxHash in "quorum getdata" command
xdustinface 5661a81
test: Test optionality of proTxHash for "quorum getdata" command
xdustinface af7ff72
test: Be more specific about imports in p2p_quorum_data.py
xdustinface 5afc806
llmq|rpc: Add some comments about the request.GetDataMask checks
xdustinface fae5c25
test: Some more empty lines
xdustinface 5e31e5b
rpc: One more parameter description
xdustinface 26859fd
test: Unify assert statements / drop parentheses for all of them
xdustinface 0b0a7a0
fix typo
PastaPastaPasta c97f1a1
adjust some line wrapping to 80 chars
PastaPastaPasta 9e224ec
tests: Seperate out into dif atomic methods, add logging
PastaPastaPasta e562313
test: Avoid restarting masternodes, just let available requests expire
xdustinface 09e4b3b
test: Drop redundant code/tests after separation
xdustinface c1a3387
test: Merge three tests
xdustinface 672afa4
test: Rename test_ratelimiting_banscore -> test_request_limit
xdustinface ea30c19
test: Apply python style
xdustinface e59e034
test: Wrap all at 120 characters
xdustinface 224a98a
test: Move some variables
xdustinface be7c66d
test: Optimize for speed
xdustinface cc38df2
tests: use wait_until in get_mininode_id
UdjinM6 3eb405a
test: Don't use `!=` to check for `None`
xdustinface File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.