aboutsummaryrefslogtreecommitdiff
path: root/test/functional/mining_basic.py
Commit message (Collapse)AuthorAgeFilesLines
* tests: remove byte.hex() to keep compatibilityAkio Nakamura2019-02-191-1/+1
| | | | | Use test_framework.util.bytes_to_hex_str() instead of bytes.hex() that new in Python 3.5, to support minimum version of Python(test).
* Merge #15383: [rpc] mining: Omit uninitialized currentblockweight, ↵MarcoFalke2019-02-151-5/+23
|\ | | | | | | | | | | | | | | | | | | | | | | currentblocktx fa178a6385 [rpc] mining: Omit uninitialized currentblockweight, currentblocktx (MarcoFalke) Pull request description: Previously we'd report "0", which could be mistaken for a valid number. E.g. the number of transactions is 0 or the block weight is 0, whatever that means. Tree-SHA512: ee94ab203a329e272211b726f4c23edec4b09c650ec363b77fd59ad9264165d73064f78ebb9e11b5c2c543b73c157752410a307655560531c7d5444d203aa0ea
| * [rpc] mining: Omit uninitialized currentblockweight, currentblocktxMarcoFalke2019-02-121-5/+23
| |
* | submitheader: more directly test missing prev block headerGregory Sanders2019-01-241-1/+1
| |
* | remove some magic mining constants in functional testsGregory Sanders2019-01-241-6/+6
|/
* [mining] segwit option must be set in GBTJohn Newbery2018-12-101-4/+7
| | | | | | | Calling getblocktemplate without the segwit rule specified is most likely a client error, since it results in lower fees for the miner. Prevent this client error by failing getblocktemplate if called without the segwit rule specified.
* Add CScriptNum decode python implementation in functional suiteGregory Sanders2018-11-291-2/+10
|
* rpc: Correctly name argumentsJon Layton2018-11-131-1/+2
|
* Changed functional tests which do not require wallets to run withoutsanket17292018-09-171-5/+2
| | | | | | skipping .Addreses #14216. Changed get_deterministic_priv_key() to a named tuple
* Merge #13983: rpc: Return more specific reject reason for submitblockMarcoFalke2018-09-131-2/+19
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | fa6ab8ada1 rpc: Return more specific reject reason for submitblock (MarcoFalke) Pull request description: The second commit in #13439 made the `TODO` in the first commit impossible to solve. The meaning of `fNewBlock` changed from "This is the first time we process this block" to "We are about to write the new *valid* block". So whenever `fNewBlock` is true, the block was valid. And whenever the `fNewBlock` is false, the block is either valid or invalid. If it was valid and not new, we know it is a `"duplicate"`. In all other cases, the `BIP22ValidationResult()` will return the reason why it is invalid. Tree-SHA512: 4b6edf7a912339c3acb0fccfabbdd6d812a0321fb1639c244c2714e58dc119aa2b8c6bf8f7d61ea609a1b861bbc23f920370fcf989c48452721e259a8ce93d24
| * rpc: Return more specific reject reason for submitblockMarcoFalke2018-08-151-2/+19
| |
* | qa: Run all tests even if wallet is not compiledMarcoFalke2018-09-101-0/+3
| |
* | qa: Use named args in some testsMarcoFalke2018-08-291-1/+1
|/
* qa: Add tests for submitheaderMarcoFalke2018-08-131-5/+74
|
* tests: Use explicit importspracticalswift2018-08-131-1/+1
|
* Update copyright headers to 2018DrahtBot2018-07-271-1/+1
|
* [tests] Rename misc functional tests.Anthony Towns2018-01-251-0/+135