aboutsummaryrefslogtreecommitdiff
path: root/test/functional/p2p_sendheaders.py
Commit message (Collapse)AuthorAgeFilesLines
* minor p2p_sendheaders fix of height in coinbaseGregory Sanders2018-10-221-1/+1
|
* Merge #13424: Consistently validate txid / blockhash length and encoding in ↵MarcoFalke2018-09-241-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rpc calls 5eb20f81d9 Consistently use ParseHashV to validate hash inputs in rpc (Ben Woosley) Pull request description: ParseHashV validates the length and encoding of the string and throws an informative RPC error on failure, which is as good or better than these alternative calls. Note I switched ParseHashV to check string length first, because IsHex tests that the length is even, and an error like: "must be of length 64 (not 63, for X)" is much more informative than "must be hexadecimal string (not X)" in that case. Split from #13420 Tree-SHA512: f0786b41c0d7793ff76e4b2bb35547873070bbf7561d510029e8edb93f59176277efcd4d183b3185532ea69fc0bbbf3dbe9e19362e8017007ae9d51266cd78ae
| * Consistently use ParseHashV to validate hash inputs in rpcBen Woosley2018-08-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | ParseHashV validates the length and encoding of the string and throws an informative RPC error on failure, which is as good or better than these alternative calls. Note I switched ParseHashV to check string length first, because IsHex tests that the length is even, and an error like: "must be of length 64 (not 63, for X)" is much more informative than "must be hexadecimal string (not X)"
* | Changed functional tests which do not require wallets to run withoutsanket17292018-09-171-7/+5
| | | | | | | | | | | | skipping .Addreses #14216. Changed get_deterministic_priv_key() to a named tuple
* | qa: Run all tests even if wallet is not compiledMarcoFalke2018-09-101-0/+3
| |
* | tests: Use explicit importspracticalswift2018-08-131-1/+1
| |
* | Merge #13916: qa: wait_for_verack by defaultMarcoFalke2018-08-091-2/+0
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | fa5587fe71 qa: wait_for_verack by default (MarcoFalke) Pull request description: This removes the need to do so manually every time a connection is added. Tree-SHA512: a46c92cb4df41e30778b42b9fd3dcbd8d2d82aa7503d1213cb1c1165034f648d8caee01c292e2d87d05b0f71696996eef5be8a753f35ab49e5f66b0e3bf29f21
| * | qa: wait_for_verack by defaultMarcoFalke2018-08-081-2/+0
| | |
* | | Update copyright headers to 2018DrahtBot2018-07-271-1/+1
|/ /
* | Merge #13522: [tests] Fix p2p_sendheaders raceMarcoFalke2018-06-301-0/+2
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 75848bcf40 [tests] Fix p2p_sendheaders race (John Newbery) Pull request description: p2p_sendheaders has a race in part 1.3. part 1.2 sends a block to the node over the 'test_node' connection, but doesn't wait for an inv to be received on the 'inv_node' connection. If we get to part 1.3 before that inv has been received, then the subsequent call to check_last_inv_announcement could fail. Tree-SHA512: ba9baffb3a9c0d379259190c737a7a4ad2e1133005a5b026af4f6b67a2978e24db39289551ad29134151879593ef5472be7e569a3557c0740fb51f5c56263d9a
| * | [tests] Fix p2p_sendheaders raceJohn Newbery2018-06-221-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | p2p_sendheaders has a race in part 1.3. part 1.2 sends a block to the node over the 'test_node' connection, but doesn't wait for an inv to be received on the 'inv_node' connection. If we get to part 1.3 before that inv has been received, then the subsequent call to check_last_inv_announcement could fail.
* | | qa: Avoid start/stop of the network thread mid-testMarcoFalke2018-06-251-6/+1
|/ /
* / [tests] Add logging to provide anchor points when debugging failures.Lowell Manners2018-05-301-3/+13
|/ | | | refs #12453
* [tests] Fixed intermittent failure in p2p_sendheaders.py.lmanners2018-05-091-45/+51
| | | | | Added handling for the case where headers are announced over more than one message. refs #12453
* Adding logging for loop iteration level in p2p_sendheaders.pyccdle122018-04-021-6/+3
| | | | | | | | | | | | Changing logs to debug level and format of statment to j == ... Updating debug statements to include comments when checking for iteration level of i and j Removing comments above log prints in Part 3 Removing unwanted file Added log prints in loops in p2p_sendheaders
* [tests] Rename p2p_* functional tests.Anthony Towns2018-01-251-0/+598