Brannon King
69c1e4afc6
optimized findNameForClaim, added test for removalWorkaround
2020-03-26 15:40:28 +02:00
Anthony Fieroni
e4e160cf3e
Fix partial claim id search
...
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:28 +02:00
Brannon King
f9cb79349b
added additional unit tests, optimized queries
2020-03-26 15:40:28 +02:00
Anthony Fieroni
d896099593
Remove duplicate code
...
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:28 +02:00
Brannon King
8ddb17b03d
changed name column to blob
2020-03-26 15:40:28 +02:00
Anthony Fieroni
38006baf03
Fix signed / unsigned compare
...
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:28 +02:00
Brannon King
394f1d6088
repaired getchangesinblock
2020-03-26 15:40:28 +02:00
Brannon King
f85a276446
renamed tables to be singular
2020-03-26 15:40:28 +02:00
Brannon King
80f626ad60
ensure -O2 gets to ICU & BDB
2020-03-26 15:40:28 +02:00
Anthony Fieroni
5a50b39c84
Move sqlite back in claimtrie
...
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:28 +02:00
Brannon King
d88d6b3280
fix compile error that came with include reorg
2020-03-26 15:40:27 +02:00
Brannon King
9eed417892
ensure removalWorkaround matches old code
2020-03-26 15:40:27 +02:00
Brannon King
ed7cc99956
fix OSX build
2020-03-26 15:40:27 +02:00
Brannon King
470bb18347
force reindex first time, remove leveldb data
2020-03-26 15:40:27 +02:00
Anthony Fieroni
aae6d4e348
Reorg includes
...
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:27 +02:00
Anthony Fieroni
94754becac
Try commit changes in a minute
...
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:27 +02:00
Brannon King
ee054ac8fe
fixed the txindex data
2020-03-26 15:40:27 +02:00
Brannon King
1c930030cd
fixed restart issues, ditched metadata column
2020-03-26 15:40:27 +02:00
Brannon King
8f776bcf01
remove leveldb, made tests pass
...
error on Ctrl+C during reindex
2020-03-26 15:40:27 +02:00
Anthony Fieroni
f8f209d51a
Strip out takeover workaround in its own file
...
Trying to optimize a bit hash computation
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:27 +02:00
Anthony Fieroni
cc32e2949c
Address performance issue
...
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:27 +02:00
Brannon King
49d468f775
minor optimization tweaks, fixed one validHeight use
2020-03-26 15:40:27 +02:00
Brannon King
c5b96f99e3
all tests pass
2020-03-26 15:40:27 +02:00
Brannon King
d942ffa1f2
handle takeover going back to zero
2020-03-26 15:40:27 +02:00
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