Commit Graph

69 Commits

Author SHA1 Message Date
jl777
98d166cfc9 test 2016-11-15 11:33:45 -03:00
jl777
0fec0cc4b3 test 2016-11-15 10:38:38 -03:00
jl777
a130c5cb66 test 2016-11-15 07:47:14 -03:00
jl777
073a37a2dc test 2016-11-14 15:10:42 -03:00
jl777
3959e9f32d test 2016-11-12 12:10:15 -03:00
jl777
4a4e912bbe test 2016-11-11 20:15:05 -03:00
jl777
fd8dd3c26d test 2016-11-04 18:11:04 -03:00
jl777
2d4c201cef test 2016-11-04 09:16:44 -03:00
jl777
17878015bb test 2016-10-22 13:23:25 -03:00
jl777
fdbf481faf test 2016-10-22 11:56:19 -03:00
jl777
a6ce4b84b1 test 2016-10-22 10:41:02 -03:00
jl777
355ca56547 test 2016-10-21 19:09:24 -03:00
jl777
8ad9f27fdd test 2016-10-21 18:32:52 -03:00
jl777
560c5598be test 2016-10-21 18:03:15 -03:00
jl777
0f24f24562 test 2016-10-21 17:28:28 -03:00
jl777
f0eb47af80 test 2016-10-21 16:50:17 -03:00
jl777
8a9bc02778 test 2016-10-21 16:44:49 -03:00
jl777
63a9f52633 test 2016-10-21 16:08:37 -03:00
jl777
420af8fda7 test 2016-10-21 15:54:04 -03:00
jl777
8c8552a2ab test 2016-10-21 15:48:46 -03:00
jl777
e19d8b3dee test 2016-10-21 15:20:30 -03:00
jl777
92ec2db8e9 test 2016-10-20 16:09:21 -03:00
jl777
3127a4808b test 2016-10-20 16:08:02 -03:00
jl777
602dc7445d test 2016-10-20 15:14:39 -03:00
jl777
5fbcb13099 test 2016-10-18 18:44:09 -03:00
jl777
e4ca0031c9 test 2016-10-18 17:52:53 -03:00
Sean Bowe
9e511dbbdd Rename CSerialsCacheEntry. 2016-07-18 10:06:18 -06:00
Sean Bowe
1d184d53e1 Rename cacheSerials to cacheNullifiers and fix tests. 2016-07-18 10:06:18 -06:00
Sean Bowe
b7e4abd6f7 Rename some usage of 'pour'. 2016-07-18 10:06:18 -06:00
Sean Bowe
bb64be52fe Rename mapSerials to mapNullifiers. 2016-07-18 10:06:18 -06:00
Sean Bowe
d889a287ae Rename CSerialsMap to CNullifiersMap. 2016-07-18 10:06:18 -06:00
Sean Bowe
d90e46ba8d Renaming SetSerial to SetNullifier. 2016-07-18 10:06:18 -06:00
Sean Bowe
616f8d05af Rename GetSerial to GetNullifier. 2016-07-18 10:06:18 -06:00
Sean Bowe
ee964faf3d Rename HavePourRequirements to HaveJoinSplitRequirements. 2016-07-18 10:06:18 -06:00
Sean Bowe
942bc46756 Rename GetPourValueIn to GetJoinSplitValueIn 2016-07-18 10:06:18 -06:00
Sean Bowe
bfeaf0049a Rename JSDescription's serials to nullifiers. 2016-07-18 10:06:18 -06:00
Sean Bowe
8675d94b63 Rename vpour to vjoinsplit. 2016-07-18 10:06:18 -06:00
Sean Bowe
a8c68ffe99 Rename CPourTx to JSDescription. 2016-07-18 10:06:18 -06:00
Sean Bowe
7f3c7a683b Flush to disk more consistently by accounting memory usage of serials/anchors in cache. 2016-06-27 10:52:34 -06:00
Sean Bowe
6c59778acb Allow pours to be anchored to intermediate treestates of a transaction. 2016-05-30 22:46:44 -06:00
Sean Bowe
434f328446 Integrate new incremental merkle tree implementation into consensus. 2016-04-28 16:07:52 -06:00
Sean Bowe
cf47198370 Fixed a couple incremental merkle tree bugs breaking consistency checks. 2016-01-19 14:36:10 -07:00
Sean Bowe
d66877afb3 Added mapSerials consensus rules to prohibit double-spending. 2016-01-19 14:36:09 -07:00
Sean Bowe
a8ac403db0 Added mapAnchors consensus rules, finished zcrawpour/zcrawreceive.
Some specifics on consensus changes:
* Transactions must be anchored to a real anchor in the chain.
* Anchors are pushed and popped during ConnectBlock/DisconnectBlock as appropriate.
* DisconnectTip triggers evictions, under some circumstances, of transactions in the
  mempool which are anchored to roots that are no longer valid.
* Commitments append to the tree at the current best root during ConnectBlock.
2016-01-19 14:36:04 -07:00
Sean Bowe
f512cf7c7b Added value balance consensus enforcement for pours. 2016-01-19 14:36:04 -07:00
Sean Bowe
45d6bee945 Add mapSerials infrastructure to CCoinsView.
This adds the TXDB/CCoinsViewCache primitives necessary for
writing consensus rules for mapSerials later.
2016-01-19 14:36:04 -07:00
Sean Bowe
9f25631d50 Add mapAnchors infrastructure to CCoinsView.
This adds the TXDB/CCoinsViewCache primitives necessary for
writing consensus rules for mapAnchors later.
2016-01-19 14:36:04 -07:00
Pieter Wuille
046392dc1d Keep track of memory usage in CCoinsViewCache 2015-05-11 17:56:48 -07:00
Wladimir J. van der Laan
7625f7ff94 Merge pull request #5597
e413457 Catch LevelDB errors during flush (Pieter Wuille)
02bced1 Bugfix: only track UTXO modification after lookup (Pieter Wuille)
2015-01-07 13:03:41 +01:00
Wladimir J. van der Laan
4f1524966a Replace direct use of 0 with SetNull and IsNull
Replace x=0 with .SetNull(),
x==0 with IsNull(), x!=0 with !IsNull().
Replace uses of uint256(0) with uint256().
2015-01-05 15:45:34 +01:00