Jonathan "Duke" Leto
66d08a3640
Fix compiler error: call of overloaded 'Pair(const char [9], time_t)' is ambiguous
2018-07-25 21:40:31 -07:00
Duke Leto
f1e1ea6133
WIP add 'top N only' feature to gensnapshot rpc
2018-07-23 04:33:47 +00:00
CHMEX
16f2495e19
add RD6GgnrMpPaTSMn8vai6yiGA7mN4QGPVMY Burnaddress
...
add burnaddress to excuding list
2018-07-20 09:48:34 +02: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
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
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
Duke Leto
cbce9f1f65
WIP debugging why leveldb iterator is broke
2018-07-14 23:00:09 +00:00
jl777
afd86eb21e
Undo
2018-06-12 03:46:42 -11:00
jl777
32748f525e
New iterator
2018-06-12 03:38:36 -11:00
jl777
de84abc1b0
Prints
2018-06-12 02:06:11 -11:00
jl777
74db3cd027
SeekToFirst
2018-06-12 02:01:14 -11:00
jl777
67d2e41b3f
Test
2018-06-12 00:41:46 -11:00
jl777
bf91fda682
SnapShot -> snapshot
2018-06-12 00:35:59 -11:00
jl777
bd14699824
Syntax
2018-06-12 00:10:37 -11:00
jl777
936078888d
int32_t CBlockTreeDB::SnapShot()
2018-06-12 00:04:00 -11:00
Simon
f9840089db
Part of #3277 . Add comment about deprecated txdb prefixes.
2018-05-23 20:37:34 -07:00
Sean Bowe
3577de83aa
Change txdb prefixes for sapling and avoid writing unnecessary information.
2018-05-18 13:26:39 -06:00
Michael Toutonghi
1f722359c1
Verus Proof of Stake Compete with Additional ant-fork protection on block 1
2018-05-13 18:59:06 -07:00
Sean Bowe
8c57bbac15
Fix broken error messages.
2018-05-07 14:37:46 -06:00
Sean Bowe
27616b9a04
Add support for Sapling anchors in coins/txdb.
2018-05-07 14:37:46 -06:00
Sean Bowe
f2c6d214e5
Rename hashSaplingAnchorEnd to hashFinalSaplingRoot to match spec.
2018-05-07 14:37:46 -06:00
Sean Bowe
18322f074c
Introduce support for GetBestAnchor(SAPLING).
2018-05-07 13:46:06 -06:00
Sean Bowe
008f4ee8e7
Rename GetAnchorAt to GetSproutAnchorAt.
2018-05-07 13:46:06 -06:00
Sean Bowe
8b8d70cad9
Rename DB_ANCHOR to DB_SPROUT_ANCHOR.
2018-05-07 13:46:06 -06:00
Sean Bowe
691a3fa2e9
Rename hashReserved to hashSaplingAnchorEnd.
2018-05-07 13:46:06 -06:00
Sean Bowe
08f0728884
Rename hashAnchor to hashSproutAnchor.
2018-05-07 13:46:06 -06:00
Sean Bowe
d455828fdc
Specifically describe anchors as Sprout anchors.
2018-05-07 13:46:06 -06:00
Sean Bowe
28d20bdb11
Rename NullifierType to ShieldedType.
2018-05-07 13:46:06 -06:00
Jack Grigg
1f9dfbb9f0
Fix -Wstring-plus-int warning on clang
2018-05-01 14:55:47 +01:00
Eirik Ogilvie-Wigley
9669920f75
Rename nullifier caches and maps to indicate sprout nullifiers
2018-04-25 11:26:38 -06:00
Eirik Ogilvie-Wigley
708c87f16d
Add enum for nullifier type
2018-04-24 09:57:14 -06:00
Eirik Ogilvie-Wigley
685e936c31
Add sapling nullifier set
2018-04-24 09:57:14 -06:00
jl777
103fde3508
Test
2018-04-17 14:48:12 +03:00
jl777
a30dd993bf
Test
2018-04-16 20:16:28 +03:00
jl777
e284540042
Test
2018-04-16 20:01:00 +03:00
jl777
3ad8d2478f
Test
2018-04-16 19:46:37 +03:00
Scott Grayson
0c4f43951e
Merge branch 'dev' of https://github.com/jl777/komodo into trunk-merge
...
* 'dev' of https://github.com/jl777/komodo: (1062 commits)
Delay PoW check until connect block
Declare
KOMODO_NEWBLOCKS
Prevent autorewind if syncing. Not a critical update
Change n0/n1 size to int32_t
Syntax
Fix n -> static n0/n1
Test
Test
Test
KOMODO_LONGESTCHAIN = height;
Sync main.cpp to jl777
-print
-USD/EUR
readme
curl fix
-print
Fix buffer overflows and reduce KMD men usage
-print
Test
...
2018-04-15 21:59:37 -04:00
Jack Grigg
2d7bae5b33
Update CBlockTreeDB::EraseBatchSync for dbwrapper refactor
2018-04-03 21:38:34 +01:00
Wladimir J. van der Laan
809a429ecf
dbwrapper: Pass parent CDBWrapper into CDBBatch and CDBIterator
...
Zcash: Makes future extensions easier.
Original description (when this was introduced upstream):
Pass parent wrapper directly instead of obfuscation key. This
makes it possible for other databases which re-use this code
to use other properties from the database.
Add a namespace dbwrapper_private for private functions to be used
only in dbwrapper.h/cpp and dbwrapper_tests.
2018-04-03 20:40:54 +01:00
Jeff Garzik
f345c41ec4
leveldbwrapper symbol rename: Remove "Level" from class, etc. names
2018-04-03 20:40:54 +01:00