Commit graph

21866 commits

Author SHA1 Message Date
Brannon King
90f857c466 force compatible glibc only if possible 2020-03-26 15:58:39 +02:00
Brannon King
3fd448e552 move txindex back to its own thread 2020-03-26 15:58:39 +02:00
Brannon King
10a898607f move block filter specifics out of base.cpp 2020-03-26 15:58:39 +02:00
Brannon King
05128d3ee9 fix EstimateSize for gettxoutsetinfo 2020-03-26 15:58:39 +02:00
Brannon King
eaaba6880d Wallet refactor
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:58:39 +02:00
Brannon King
87dfdabf94 reintroduce hash table 2020-03-26 15:58:38 +02:00
Anthony Fieroni
d6e230dcd2 Allow sqlite to copy only temporaries
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:58:38 +02:00
Brannon King
541b26e920 restored compatible undo functionality 2020-03-26 15:58:38 +02:00
Brannon King
af42072578 run functional tests on Travis
on hard link on config


attempt to fix functional test run


fix path in config.ini
2020-03-26 15:58:38 +02:00
Brannon King
95edef3b9e Merge remote-tracking branch 'origin/remove_tx_index' 2020-03-26 15:58:38 +02:00
Brannon King
8c41ff1608 fix data corruption of block_info::hash 2020-03-26 15:58:38 +02:00
Brannon King
b7ad2beabd fixing functional test run 2020-03-26 15:58:38 +02:00
Anthony Fieroni
1138fac5e1 Fix rebase to 0.19.1
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:58:38 +02:00
Anthony Fieroni
d3f9a44e57 Adjust best fork warning conditions
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:58:38 +02:00
Brannon King
ed26eb347f MaxTipAge should only apply on mainnet 2020-03-26 15:58:38 +02:00
Brannon King
7fcb767c7a made faster flush, faster generate, larger coin cache 2020-03-26 15:58:38 +02:00
Brannon King
d5e8846ed5 added new maxblockfilesize parameter 2020-03-26 15:58:38 +02:00
Anthony Fieroni
e9c468e811 Fix assume valid block checking
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:58:38 +02:00
Anthony Fieroni
deb58491ca Fix cursor ordering
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:58:38 +02:00
Brannon King
ae9b82a721 brought back fReset 2020-03-26 15:58:38 +02:00
Brannon King
daf90c3adf flush more, disk sync less
minor optimizations
compiles but still calls fcntl64


updated to expect backwards symbol table
reduce output on syncing testnet


changing to gcc-only build for Linux


fix DOCKER_IMAGE


remove docker_build_image


optimizing the wallet to better handle claimname calls
post-merge fixes
2020-03-26 15:58:38 +02:00
Anthony Fieroni
7f4ddab539 Do not try to search only in cache, flush can discard changes
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:58:38 +02:00
Anthony Fieroni
e738202334 Use set instead of map on block index
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:58:38 +02:00
Anthony Fieroni
0c311d5fae Fix tx offset
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:58:38 +02:00
Anthony Fieroni
33ca64ad68 Functional tests to pass
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:58:31 +02:00
Anthony Fieroni
55721a75f8 Guard against prev block on csv in regtest
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:58 +02:00
Anthony Fieroni
b4bc48552c Allow setmocktime in regtest
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:58 +02:00
Brannon King
9b17209c44 attempt to fix windows tests on Travis 2020-03-26 15:40:58 +02:00
Brannon King
76247f430c move in changes from master 2020-03-26 15:40:58 +02:00
Brannon King
91760d0252 fixing broken tests on Windows, merge GetDataDir fixes 2020-03-26 15:40:44 +02:00
Anthony Fieroni
4a6b3b7bf2 Adjust fuctional tests
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:44 +02:00
Anthony Fieroni
675dfa2367 Fix off by one rewind height
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:44 +02:00
Anthony Fieroni
ed917ae0ce Do not rename non regular log file e.g. /dev/null
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:44 +02:00
Anthony Fieroni
0fc257d9ab Fix rebase issues
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:44 +02:00
Anthony Fieroni
857d03cc5d Fix merkle hash on empty trie past hash fork
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:44 +02:00
Anthony Fieroni
18daab95ae More fixes
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:44 +02:00
Anthony Fieroni
17d4b43888 Fix rpc tests
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:44 +02:00
Anthony Fieroni
43e5602ccd Fix amount in tests
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:44 +02:00
Anthony Fieroni
a1717e25f2 Fix pow, max block size, still need some adjust
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:44 +02:00
Anthony Fieroni
43ffc17b6d Partial fix, still need investigation in wallet and block generator tests
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:44 +02:00
Brannon King
17875c97c9 in progress on making py tests run 2020-03-26 15:40:44 +02:00
Brannon King
5dca394aaa tweak consistency check 2020-03-26 15:40:44 +02:00
Brannon King
81c7695526 byte swap performance on windows 2020-03-26 15:40:44 +02:00
Anthony Fieroni
508542350b Increase attempts to database sync
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:44 +02:00
Brannon King
ea5a7c8152 optimized hash calc, fixed bad nChainTx, re-used db connection 2020-03-26 15:40:44 +02:00
Brannon King
4be2089329 more careful initialization 2020-03-26 15:40:44 +02:00
Brannon King
b83516d107 improve integrity check time 2020-03-26 15:40:44 +02:00
Anthony Fieroni
f0f72e5c57 Don't call lsn_reset at periodic time
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:44 +02:00
Brannon King
6153986566 fixed slow loading of block index, increased wallet flush period 2020-03-26 15:40:43 +02:00
Anthony Fieroni
acc45c1a19 Fix branding which lead to confusing users
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:43 +02:00