| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| | |
|
| | |
|
| |\
| |
| | |
Test that peers building on invalid blocks get disconnected
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| | | |
|
| | |
| |
| |
| | |
Create feelimit.py test to verify the updated fee values now rounding has been eliminated.
|
| |/
|
|
|
| |
Remove rounding of transaction sizes when calculating fee minimums for relaying,
to simplify fee logic.
|
| | |
|
| |
|
|
|
|
|
| |
Test that the interaction between the wallet parameters
-paytxfee and -mintxfee function as intended. This has to
be done using rpc tests rather than unit tests because it
tests the actual parameters passed to the executables.
|
| |\
| |
| | |
qa: txn_dblspend - fix arithmetic
|
| | | |
|
| |/
|
|
|
|
|
|
|
|
|
|
| |
This test failed because the sheer number of blocks required to
trigger the max length of a fork we'd keep, exceed the v4 fork
height on regtest.
- Adapted the blocktools.py miner to mine 0x00620004 blocks as done
elsewhere too (be it suboptimal, but at least consistent)
- Adapted the test to work with 1440 blocks (Dogecoin limit)
instead of 288 (Bitcoin limit)
- Made p2p-acceptblock a standard test instead of an extended test
|
| | |
|
| |
|
|
| |
Co-authored-by: Ross Nicoll <[email protected]>
|
| | |
|
| |
|
| |
* Bump fee to 1.0000 from 0.0001 to fix insufficient priority error
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
Block download timeouts are expressed as a fraction of block interval time, so Dogecoin values have been too aggressive.
Matching Bitcoin values as a starting point.
|
| |
|
|
|
|
|
|
|
|
| |
automatic_pruning
Fix pruneheight help text.
Move fPruneMode block to match output ordering with help text.
Add functional tests for new fields in getblockchaininfo.
Rebase-from: bitcoin#b7dfc6c4
|
| |
|
|
| |
To retain compatibility with multiple python3 versions
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
do more rounds of large tx creation to be sure to evict the
targeted tx
|
| |
|
|
|
|
| |
- use non-dust outputs
- reverse the order of transactions to lowest-first, to not re-spend
expected outputs for later tests.
|
| |
|
|
| |
Tests weren't adapted to reflect RPC output
|
| |
|
|
|
| |
This reflects the dependency installed in the dep script at
qa/pull-tester/install-deps.sh
|
| |
|
|
| |
every script depends on "python3" not "python3.6"
|
| |
|
|
|
|
|
| |
- travis: RUN_TESTS requires python3-dev. This enables us to
compile the ltc_scrypt library under python3
- pull tester deps: use curl instead of wget to reduce dependencies
as everything else uses curl
|
| |\ |
|
| | |
| |
| |
| |
| |
| | |
The old ltc_scrypt module works on systems it is installed on, but does not
install on new systems it appears. Our README says to use litecoin_scrypt,
so updating the code to match.
|
| |/
|
|
| |
Change getauxblock to respond with a "target" field instead of "_target".
|
| | |
|
| |
|
|
| |
* Update tx output in `p2p-fullblocktest.py` to match Dogecoin coin reward.
* Disable the re-org test as it disconnects the mini-node before the re-org completes.
|
| |
|
|
|
|
|
|
|
|
| |
* Enable full block tests
* Fix invalidblocktest
* Move watch only address funding to immediately before it's used, so node 0 doesn't spend the output before it checks it later.
* Fix `fundrawtransaction` tests and sanitize fee calculation at the same time
* Correct resolution of chain parameters when validating tx inputs, especially from previous coinbase transactions
* Set block versions on full block tests so that the generated blocks are AuxPoW compatible
|
| |
|
|
|
|
|
|
|
| |
* 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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Changes are as below:
Wrap CBlockHeader::nVersion into a new class (CBlockVersion). This allows to take care of interpreting the field into a base version, auxpow flag and the chain ID.
Update getauxblock.py for new 'generate' RPC call.
Add 'auxpow' to block JSON.
Accept auxpow as PoW verification.
Add unit tests for auxpow verification.
Add check for memory-layout of CBlockVersion.
Weaken auxpow chain ID checks for the testnet.
Allow Params() to overrule when to check the auxpow chain ID and for legacy blocks. Use this to disable the checks on testnet.
Introduce CPureBlockHeader.
Split the block header part that is used by auxpow and the "real" block header (that uses auxpow) to resolve the cyclic dependency between the two.
Differentiate between uint256 and arith_uint256.
This change was done upstream, modify the auxpow code.
Add missing lock in auxpow_tests.
Fix REST header check for auxpow headers.
Those can be longer, thus take that into account. Also perform the check actually on an auxpow header.
Correctly set the coinbase for getauxblock results.
Call IncrementExtraNonce in getauxblock so that the coinbase is actually initialised with the stuff it should be. (BIP30 block height and COINBASE_FLAGS.)
Implement getauxblock plus regression test.
Turn auxpow test into FIXTURE test.
This allows using of the Params() calls.
Move CMerkleTx code to auxpow.cpp.
Otherwise we get linker errors when building without wallet.
Fix rebase with BIP66.
Update the code to handle BIP66's nVersion=3.
Enforce that auxpow parent blocks have no auxpow block version.
This is for compatibility with namecoind. See also https://github.com/namecoin/namecoin/pull/199.
Move auxpow-related parameters to Consensus::Params.
|
| |\
| |
| |
| | |
'disconnect_ban_fixes-0.14' into 0.14.2_fixes
|
| | |
| |
| |
| |
| | |
Github-Pull: #10234
Rebased-From: d6732d832aa901e733e63799260d409821a2c37a
|
| | |
| |
| |
| |
| | |
Github-Pull: #10143
Rebased-From: 5cc3ee24d29397737f2746d78b19a2509c0dedbb
|
| | |
| |
| |
| |
| | |
Github-Pull: #10143
Rebased-From: 12de2f252c8f48e05c579cb679866a68af8c660e
|
| | |
| |
| |
| |
| | |
Github-Pull: #10143
Rebased-From: 395561becfa612fedec74fd841cb4f28afdc23d7
|
| | |
| |
| |
| |
| | |
Github-Pull: #10143
Rebased-From: d6564a26f4afc28d7d1a24b94946916387c9bf24
|
| |\| |
|