Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-10-03 | [tests] Functional tests must explicitly set num_nodes | John Newbery | |
Github-Pull: #11121 Rebased-From: 7148b74dc39110f53c665b94fa9d994c6ad6dc1c | |||
2017-10-03 | [tests] don't override __init__() in individual tests | John Newbery | |
Almost all test scripts currently need to override the __init__() method. When they do that they need to call into super().__init__() as the base class does some generic initialization. This commit makes the base class __init__() call into set_test_params() method. Individual test cases can override set_test_params() to setup their test parameters. Github-Pull: #11121 Rebased-From: 5448a1471d6fc638a2220ea5a2f3782172efe14c | |||
2017-06-07 | gettxoutproof() should return consistent result | John Newbery | |
We can call gettxoutproof() with a list of transactions. Currently, if the first transaction is unspent (and all other transactions are in the same block), then the call will succeed. If the first transaction has been spent, then the call will fail. The means that the following two calls will return different results: gettxoutproof(unspent_tx1, spent_tx1) gettxoutproof(spent_tx1, unspent_tx1) This commit makes behaviour independent of transaction ordering by looping through all transactions provided and trying to find which block they're in. This commit also increases the test coverage and tests more failure cases for gettxoutproof() | |||
2017-05-02 | [tests] Remove is_network_split from funtional test cases | John Newbery | |
2017-03-20 | Rename rpc-tests directory to functional | John Newbery | |