Commit Graph

17516 Commits

Author SHA1 Message Date
Duke Leto
f1e1ea6133 WIP add 'top N only' feature to gensnapshot rpc 2018-07-23 04:33:47 +00:00
Duke Leto
1aa7af1794 Allow certain addresses to be ignored in snapshot 2018-07-20 05:01:07 +00:00
Duke Leto
70748123a9 Sort addresses by amounts in descending order 2018-07-20 04:40:34 +00:00
Duke Leto
c4a73444de Fix bug where some addresses are lost in sorting by using a vector instead of set and avoiding custom comparison function 2018-07-20 03:58:05 +00:00
Duke Leto
20ba439d05 Add number of utxos to metadata in json response 2018-07-19 05:37:27 +00:00
Duke Leto
a4d41984f6 Modify how we iterate and deal with the end of iteration, since iter->Valid seems to always be true 2018-07-18 19:44:16 +00:00
Duke Leto
3350160a6c Fix bug where finding index entries of other types, such as timestampindex, stopped our iterator 2018-07-18 16:02:53 +00:00
Duke Leto
9ef7fec1ef Protect komodo_snapshot() by cs_main lock 2018-07-18 06:54:43 +00:00
Duke Leto
5685e88a47 Merge remote-tracking branch 'origin/jl777' into snapshot 2018-07-18 06:48:33 +00:00
Duke Leto
539080b3a4 Less noise to stderr 2018-07-17 22:33:19 +00:00
Duke Leto
3eb535b8b4 Include start_time+end_time and correctly format amount 2018-07-17 22:31:06 +00:00
Duke Leto
6e74fd2578 In memory sorting, add a few metadata fields; printing small floats correctly still not working 2018-07-17 21:37:52 +00:00
Duke Leto
29a5aa99fd Move address+amount data to addresses key in JSON; add some useful metadata to snapshot response 2018-07-17 19:39:55 +00:00
Duke Leto
92dc28a3c9 Return snapshot info as JSON 2018-07-17 18:42:30 +00:00
jl777
3872e9cb59 Fix 2018-07-17 05:29:01 -11:00
jl777
7000ef1af3 Possible workaround for crash 2018-07-17 05:26:34 -11:00
Duke Leto
920f960122 Correctly print out snapshot data to stderr for now 2018-07-17 06:05:36 +00:00
Duke Leto
d62d9d7889 Almost working snapshot, we need to sum unspent outputs for each address and return to final snapshot data in json response 2018-07-17 01:40:24 +00:00
jl777
17839698a3 block_from_future_rejecttime used in RAMstaker 2018-07-16 00:55:48 -11:00
jl777
8613127572 LastTip() and tweak deprecation heights 2018-07-15 22:47:16 -11:00
jl777
8d487e52a7 Change deprecation height for 1400000 2018-07-15 21:41:24 -11:00
jl777
ce2083e49d Merge pull request #769 from letolabs/ac_progress
Fix progress estimate for asset chains in UpdateTip
2018-07-15 21:29:24 -11:00
Duke Leto
3bd2c3bd6a Fix progress estimate for asset chains, mostly 2018-07-16 07:57:56 +00:00
Jonathan "Duke" Leto
7246f7f31d WIP correctly calculate block progress for asset chains 2018-07-15 22:01:35 -07:00
jl777
6651944ae7 Test 2018-07-14 23:59:08 -11:00
jl777
48c3fcbed3 Snapshot() reverse iterator 2018-07-14 23:48:09 -11:00
jl777
a3b8c12830 Test 2018-07-14 13:26:39 -11:00
jl777
8afd5b3a04 Test 2018-07-14 13:25:57 -11:00
jl777
779b7b3a5b Typo 2018-07-14 13:16:18 -11:00
jl777
8cbf8d6a12 Test 2018-07-14 13:12:08 -11:00
jl777
2d48111526 -prints 2018-07-14 13:02:35 -11:00
jl777
1973dfa050 Test 2018-07-14 12:49:18 -11:00
jl777
6e7dcf3106 Test 2018-07-14 12:42:51 -11:00
jl777
d3ce166fb8 Test 2018-07-14 12:41:30 -11:00
jl777
37d6294dbe Test 2018-07-14 12:36:44 -11:00
jl777
cca0bdc6c4 Test 2018-07-14 12:35:26 -11:00
jl777
cfe64b2b48 Test 2018-07-14 12:26:38 -11:00
jl777
b8b0686360 Test 2018-07-14 12:21:33 -11:00
jl777
d5c81c59bb Test 2018-07-14 12:11:43 -11:00
jl777
45c4bfef64 Test 2018-07-14 12:02:20 -11:00
Duke Leto
cbce9f1f65 WIP debugging why leveldb iterator is broke 2018-07-14 23:00:09 +00:00
jl777
a87b6f5f62 Test 2018-07-14 11:55:01 -11:00
jl777
817aedba53 Test 2018-07-14 11:53:42 -11:00
jl777
1d8f1b466a Test 2018-07-14 11:18:36 -11:00
jl777
518e079e91 Test 2018-07-14 11:14:53 -11:00
jl777
011b0a2433 Test 2018-07-14 11:02:23 -11:00
jl777
ecae680bfa Test 2018-07-14 10:52:42 -11:00
jl777
76df25be7a Test 2018-07-14 10:51:01 -11:00
jl777
aecf58592c Fix 2018-07-14 10:41:08 -11:00
jl777
1273624d3e Test 2018-07-14 10:38:45 -11:00