aboutsummaryrefslogtreecommitdiff
path: root/qa/rpc-tests/test_framework/mininode.py
Commit message (Collapse)AuthorAgeFilesLines
* really s/Doge/Dis/g this timeTomo Ueda2021-09-021-1/+1
|
* s/doge/dis/gTomo Ueda2021-09-021-1/+1
|
* fixup p2p-acceptblock and mininode to test disconnectsPatrick Lodder2021-08-171-0/+4
| | | | | | | | | | | without partially backporting a new testframework. - Adds a condition to NodeConn that when asyncore calls handle_read without any data, this must be a disconnect and closes the socket - Adds a little loop in the p2p-acceptblock client that waits for the socket to be in a closed state - Makes expected disconnects non-optional in p2p-acceptblock - Syncs the test descriptions and outputs with reality
* Initial back end framework to separate wallet and relay fees + dust.Michi Lumin2021-07-301-1/+1
|
* rpc-tests: revert from litecoin_scrypt to ltc_scryptPatrick Lodder2020-07-221-2/+2
| | | | | This reflects the dependency installed in the dep script at qa/pull-tester/install-deps.sh
* Update RPC tests for Dogecoin (#1431)Ross Nicoll2018-09-191-4/+10
| | | | | | | | | * Make most of the RPC tests pass * Add AUXPoW rpc tests - Tests the auxpow rpc interface `getauxblock` - Tests consensus constraints for auxpow: - Minimum block height - Valid scrypt proof of work - Foreign chain ID
* qa: Expose on-connection to mininode listenersMatt Corallo2017-02-081-0/+2
|
* qa: mininode learns when a socket connects, not its first actionMatt Corallo2017-02-081-12/+24
|
* Make test constant consistent with consensus.hBtcDrak2016-11-211-1/+1
|
* Fix mininode version message formatjnewbery2016-11-091-6/+20
|
* [qa] Add support for compactblocks v2 to mininodeSuhas Daftuar2016-10-041-4/+31
|
* [qa] Fix bug in mininode witness deserializationSuhas Daftuar2016-10-041-3/+3
| | | | Also improve tx printing
* [qa] mininode: Only allow named args in wait_untilMarcoFalke2016-10-021-1/+1
|
* [qa] Fix race condition in p2p-compactblocks testSuhas Daftuar2016-09-301-1/+1
| | | | Also fix a bug in the sync_with_ping() helper function
* Add support for compactblocks to mininodeSuhas Daftuar2016-07-291-4/+272
|
* Tests: refactor compact size serialization in mininodeSuhas Daftuar2016-07-291-72/+25
|
* Rename CTxinWitness -> CTxInWitnessBob McElrath2016-07-061-3/+3
|
* [qa] p2p segwit testsSuhas Daftuar2016-06-221-25/+187
| | | | | | | | | | | | mininode now supports witness transactions/blocks, blocktools has a helper for adding witness commitments to blocks, and script has a function to calculate hashes for signature under sigversion 1, used by segwit. Py3 conversion by Marco Falke Test to make sure upgraded nodes don't ask for non-wit blocks by Gregory Sanders.
* [qa] mininode: fail on send_message instead of silent returnMarcoFalke2016-06-171-1/+1
|
* Continuing port of java comptoolmrbandrews2016-06-021-1/+0
|
* Tests: Rework blockstore to avoid re-serialization.mrbandrews2016-05-311-0/+13
|
* [qa] Switch to py3MarcoFalke2016-05-051-36/+41
|
* [qa] mininode: Unfiddle strings into bytesMarcoFalke2016-04-231-4/+4
|
* Tests: Fix deserialization of reject messagesSuhas Daftuar2016-04-201-2/+5
| | | | | Assume that reject messages for blocks or transactions due to reason REJECT_MALFORMED will not include the hash of the block or tx being rejected.
* [qa] py2: Unfiddle strings into bytes explicitlyMarcoFalke2016-04-101-93/+93
|
* [qa] mininode: Combine struct.pack format stringsMarcoFalke2016-04-021-15/+15
|
* [qa] mininode: Catch exceptions in got_dataMarcoFalke2016-04-011-36/+39
|
* [qa] rpc-tests: Properly use integers, floatsMarcoFalke2016-04-011-2/+2
|
* [qa] Use python2/3 syntaxMarcoFalke2016-03-311-25/+26
|
* Add p2p test for feefilterAlex Morcos2016-03-211-1/+20
|
* Create SingleNodeConnCB class for RPC testsAlex Morcos2016-03-211-0/+40
|
* [qa] mininode: Add and use CONSTsMarcoFalke2016-03-141-2/+4
|
* Merge #7184: Implement SequenceLocks functions for BIP 68Wladimir J. van der Laan2016-02-121-0/+8
|\ | | | | | | | | | | | | b043c4b fix sdaftuar's nits again (Alex Morcos) a51c79b Bug fix to RPC test (Alex Morcos) da6ad5f Add RPC test exercising BIP68 (mempool only) (Suhas Daftuar) c6c2f0f Implement SequenceLocks functions (Alex Morcos)
| * Add RPC test exercising BIP68 (mempool only)Suhas Daftuar2016-02-101-0/+8
| |
* | [rpc-tests] Change solve() to use rehashmrbandrews2016-02-041-1/+1
| |
* | Add race-condition debugging tool to mininodeSuhas Daftuar2016-01-071-0/+15
| |
* | Add more tests to p2p-fullblocktestSuhas Daftuar2015-12-181-0/+1
|/
* test: remove necessity to call create_callback_mapWladimir J. van der Laan2015-12-041-23/+1
| | | | | | | | | | Remove necessity to call create_callback_map (as well as the function itself) from the Python P2P test framework. Invoke the appropriate methods directly. - Easy to forget to call it and wonder why it doesn't work - Simplifies the code - This makes it easier to handle new messages in subclasses
* Allow block announcements with headersSuhas Daftuar2015-11-291-3/+29
| | | | | | | | | | | | | | | | | | | This replaces using inv messages to announce new blocks, when a peer requests (via the new "sendheaders" message) that blocks be announced with headers instead of inv's. Since headers-first was introduced, peers send getheaders messages in response to an inv, which requires generating a block locator that is large compared to the size of the header being requested, and requires an extra round-trip before a reorg can be relayed. Save time by tracking headers that a peer is likely to know about, and send a headers chain that would connect to a peer's known headers, unless the chain would be too big, in which case we revert to sending an inv instead. Based off of @sipa's commit to announce all blocks in a reorg via inv, which has been squashed into this commit. Rebased-by: Pieter Wuille
* [QA] restructure rpc tests directoryJonas Schnelli2015-05-181-0/+1256
* move non-test classes to subdir `test-framework`