Commit graph

21865 commits

Author SHA1 Message Date
Anthony Fieroni
5e3dbb40cc Initial undo removal
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:27 +02:00
Anthony Fieroni
3bc4e6f9f0 Fix db directory
Don't use recursive hash computation

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:27 +02:00
Anthony Fieroni
a50bc97e83 Fix getchangesinblock and unit test
getTotalValueOfClaimsInTrie query is not well performance balanced

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:27 +02:00
Anthony Fieroni
a9104e8cc6 Fix removing expired claim
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:27 +02:00
Anthony Fieroni
0dda3310d1 Fix claimtriecache test
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:27 +02:00
Anthony Fieroni
80b81a1f25 Ensure working directories are created
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:27 +02:00
Anthony Fieroni
4c72d39033 Do not pass bool as int
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:27 +02:00
Anthony Fieroni
5e50508410 Fix python unit test
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:27 +02:00
Anthony Fieroni
1cc1b0fb80 Fix sleep
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:27 +02:00
Anthony Fieroni
17a4ded0ca Implement handlers for references and callbacks
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:27 +02:00
Anthony Fieroni
2c7392c7a1 Working python bindings
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:27 +02:00
Anthony Fieroni
792ba0b032 Simplifications
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:27 +02:00
Anthony Fieroni
c0a0263058 Make claimtrie dynamic link library
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:27 +02:00
Anthony Fieroni
33a3d2cea3 Introduce libclaimtrie
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:27 +02:00
gahag
b3b824e8d5 Implement basic log rotation (closes #211) (#344)
* Remove shrinkdebugfile flag (#211)

To implement a basic form of log rotation, two instances of the log file are to
be adopted: one for the current execution, and one for the previous
execution. On startup, if the log file exists, it will be renamed into the old
log file. This implies the deprecation and removal of the log shrink flag, since
the log is no longer forever growing.

* Implement log backup

To implement a basic form of log rotation, two instances of the log file are to
be adopted: one for the current execution, and one for the previous
execution. On startup, if the log file exists, it is renamed into the old
log file. This means that you should always have logs for the last 2 executions.

closes #211
2020-03-26 15:40:27 +02:00
Aditya J Karia
87e454839b Docs: Updated README.md files with TOC and best practices in Mar… (#339)
* Added table of contents to README.md

* Restructured headings and contents to follow Markdown best Practices
2020-03-26 15:40:26 +02:00
Bharat Raghunathan
ab6f08bc06 Update hyperlinks in README (#326) 2020-03-26 15:40:26 +02:00
GwanYeong Kim
c022d4337a Fix 'Use $(...) notation instead of legacy backticked ....' issue in shell script 2020-03-26 15:40:26 +02:00
Eric Brian Anil
c273dbf77a MIT License badge
Added the MIT license badge that redirects to the license page
2020-03-26 15:40:26 +02:00
addy1510
28ff5f5837 Fix typo in README.md 2020-03-26 15:40:26 +02:00
Brannon King
c4ee529ab4 error w/o segwit after fork 2020-03-26 15:40:26 +02:00
Brannon King
7a18c405e3 added segwit instructions 2020-03-26 15:40:26 +02:00
Brannon King
9252cbf32d ensure we don't return witness data in the transaction w/o segwit rule 2020-03-26 15:40:26 +02:00
Jeremy Kauffman
b10163f1ce mention mailing list on README 2020-03-26 15:40:26 +02:00
Brannon King
99e8e7fe10 performance tweaks, unit test fixes 2020-03-26 15:40:26 +02:00
Anthony Fieroni
7df87c9cb4 Sync to top
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:26 +02:00
Brannon King
7241ed9c41 goes through block 664641 2020-03-26 15:40:26 +02:00
Brannon King
217c102f8f runs to norm fork 2020-03-26 15:40:26 +02:00
Anthony Fieroni
ef244ca801 Keep going to 536149
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:26 +02:00
Brannon King
6960d716bb fixed issue with untouched child nodes needing a parent update 2020-03-26 15:40:26 +02:00
Brannon King
afb9fde277 It passes 200k 2020-03-26 15:40:26 +02:00
Brannon King
1660f927dc fixed some RPC tests 2020-03-26 15:40:26 +02:00
Brannon King
4607866217 cache and hash fork tests pass 2020-03-26 15:40:26 +02:00
Brannon King
3ddd9fac88 tried to fix hashfork tests; they're not working yet 2020-03-26 15:40:26 +02:00
Brannon King
b3b4de0c10 normalization tests pass 2020-03-26 15:40:26 +02:00
Brannon King
649efe8d51 continued work on the takeover height 2020-03-26 15:40:26 +02:00
Brannon King
0be9249171 some progress on making takeover height work 2020-03-26 15:40:26 +02:00
Brannon King
395e773ef5 fixed more tests 2020-03-26 15:40:26 +02:00
Brannon King
cc77a2462b still fixing tests 2020-03-26 15:40:26 +02:00
Brannon King
cfb0804726 made another test pass, cleaned up cruft 2020-03-26 15:40:25 +02:00
Brannon King
2b83e50c92 first tests ran, working to make takeover height unnecessary 2020-03-26 15:40:25 +02:00
Brannon King
319a1d465f it compiles 2020-03-26 15:40:25 +02:00
Brannon King
fd92912b6b windows compilation fix round 2 2020-03-26 15:40:25 +02:00
Brannon King
a0cf46df98 fixed compilation on Windows 2020-03-26 15:40:25 +02:00
Brannon King
9f4aa27c3c Use memory mapped file for claim data allocations
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

match previous serialization


tweaks


added check for RC's data
2020-03-26 15:40:25 +02:00
Brannon King
8f9304483e rolled version, added info to chaintips 2020-03-26 15:40:25 +02:00
Brannon King
3b0758964b added helper method, enabled signing 2020-03-26 15:40:25 +02:00
Brannon King
687b23dafb fixed fee calc issue, removed segwit enable fallback 2020-03-26 15:40:25 +02:00
Anthony Fieroni
e1312a4dc2 Show bid and sequence as optional parameters
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:25 +02:00
Anthony Fieroni
147a95f42f Show claimtrie help in cli rpc
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:25 +02:00