JoelKatz
|
f0eb8e7943
|
Add instance counts to core classes.
|
2012-10-31 15:50:14 -07:00 |
|
JoelKatz
|
76d4a91814
|
Cleanups.
|
2012-10-25 19:59:05 -07:00 |
|
JoelKatz
|
98130b524d
|
We didn't correctly store root nodes we acquired from the network.
|
2012-10-25 02:22:23 -07:00 |
|
JoelKatz
|
edfcdbe46b
|
Pass the full node type to the sync filter.
|
2012-10-25 01:45:26 -07:00 |
|
JoelKatz
|
766bc8377f
|
Lots of small cleanups.
|
2012-10-22 11:49:17 -07:00 |
|
JoelKatz
|
92409dd3fc
|
Add 'SHAMap::getPath' function to get a verifiable path through a SHAMap.
|
2012-10-18 09:18:46 -07:00 |
|
JoelKatz
|
305b037f59
|
Don't allow a SerializerIterator to bind to a temporary Serializer. This was causing a bunch
of deserialization bugs.
|
2012-10-17 06:07:18 -07:00 |
|
JoelKatz
|
2de864d23b
|
Updates.
|
2012-10-16 11:49:34 -07:00 |
|
JoelKatz
|
09f3b5db54
|
Rework how dirty SHAMap nodes are flushed to disk. The existing code had a bug that could cause
nodes to be modified before they were written to disk.
|
2012-10-16 11:16:07 -07:00 |
|
JoelKatz
|
9e84bb38a8
|
Add new 'isEmpty' function to find empty inner nodes.
|
2012-10-14 23:14:17 -07:00 |
|
JoelKatz
|
9f97307f99
|
Add 'walkMap' function.
|
2012-10-14 21:32:38 -07:00 |
|
JoelKatz
|
55e38c40f7
|
Cleanups.
|
2012-10-11 07:01:03 -07:00 |
|
JoelKatz
|
4f1ebc2884
|
Put the missing node type in the SHAMapMissingNode exception.
|
2012-10-11 03:16:18 -07:00 |
|
JoelKatz
|
67477beecb
|
Track the type of map in the SHAMap. This will make it easier to parse missing nodes
at ledger level.
|
2012-10-11 03:13:28 -07:00 |
|
JoelKatz
|
30dd46d812
|
Improve SHAMapMissingNode
|
2012-10-11 02:50:04 -07:00 |
|
JoelKatz
|
2d431cefd1
|
Cleanups. Remove extraneous reference count manipulations.
|
2012-10-08 00:01:23 -07:00 |
|
JoelKatz
|
b69a0b14bf
|
Style change.
|
2012-09-14 08:42:39 -07:00 |
|
JoelKatz
|
72b2478a7b
|
Rename SHAMap states.
|
2012-09-14 07:08:27 -07:00 |
|
JoelKatz
|
6c016039c2
|
Get rid of all "const SHAMap::pointer&" -> SHAMap::ref
|
2012-09-13 15:36:56 -07:00 |
|
JoelKatz
|
34dcb99370
|
New functions to pass tree node types to callers.
|
2012-09-13 01:29:04 -07:00 |
|
JoelKatz
|
d2336e3eea
|
Ledger functions to handle transaction metadata.
|
2012-09-12 18:40:16 -07:00 |
|
JoelKatz
|
9f8c1bdc7a
|
Cleanups.
|
2012-09-03 03:15:42 -07:00 |
|
JoelKatz
|
84ee39b147
|
Fix a few more cases where we create a new shared pointer just to
immediately throw it away, resulting in a wasted
allocate/increment/decrement/free.
|
2012-08-19 19:04:18 -07:00 |
|
JoelKatz
|
4aea8c8dfb
|
Use fat root semantics when acquire transaction sets. This might save a pass.
|
2012-08-13 17:11:15 -07:00 |
|
JoelKatz
|
8e89335e2b
|
Cleanups to the sha map node format code.
|
2012-08-07 19:52:09 -07:00 |
|
JoelKatz
|
e97c4a7d8e
|
Allow unordered_map's of uint160/uint256 to work without including SHAMap.h
|
2012-07-25 02:45:24 -07:00 |
|
JoelKatz
|
c637c01abc
|
Mark a FIXME for some cases this code mishandles. (I'll fix it shortly.)
|
2012-07-11 18:16:47 -07:00 |
|
JoelKatz
|
00ab5ed0cf
|
Low-level support for transaction metadata.
|
2012-07-05 18:27:40 -07:00 |
|
JoelKatz
|
c7eb0269c2
|
For now, detect clocks out of sync and disallow connection.
Improve speed of ledger synchronization by compressing all three base queries into one.
|
2012-06-30 22:17:53 -07:00 |
|
JoelKatz
|
0627ae22da
|
A better fix. Take the format as a parameter in addRootNode.
|
2012-06-29 23:32:26 -07:00 |
|
JoelKatz
|
6a9b5ccd7d
|
Support STN_ARF_UNKNOWN for contexts where the format of a node is not known. Format
is auto-detected.
|
2012-06-29 23:19:29 -07:00 |
|
JoelKatz
|
fa48a1fb09
|
Fix the retrieve ledger hash problem for real. Make partial ledger operations work.
Set base code for how thin servers will operate on partial ledgers.
|
2012-06-26 02:01:13 -07:00 |
|
JoelKatz
|
93ad67c240
|
Close SHAMap node security hole
Use new hash prefixes.
Use new wire/prefix formats.
Remove SHAMapException
|
2012-06-25 09:13:18 -07:00 |
|
JoelKatz
|
6182c4bb51
|
Make the dirty node save logic work during consensus ledger close.
|
2012-06-22 00:42:03 -07:00 |
|
JoelKatz
|
a46b43e3a5
|
Add a constructor
|
2012-06-18 12:49:02 -07:00 |
|
Arthur Britto
|
2866c6e46d
|
Add support for hashing uint160.
|
2012-06-13 15:49:35 -07:00 |
|
JoelKatz
|
0648779ccb
|
Pass node IDs to the sync filter.
|
2012-06-04 07:23:56 -07:00 |
|
JoelKatz
|
0e7307200e
|
First set of efficiency improvements.
|
2012-06-04 07:18:57 -07:00 |
|
JoelKatz
|
2206ff3be6
|
Get rid of hash_SMN and instead extend boost::hash.
This makes the TaggedCache code cleaner.
|
2012-06-04 06:01:11 -07:00 |
|
JoelKatz
|
866ead228b
|
Rule out the SHAMap snapShot code as the cause of the duplicate Txn bug.
Add unit test for the SHAMap snapShot code.
Add some extra asserts for attempts to modify immutable maps.
|
2012-06-02 15:34:49 -07:00 |
|
JoelKatz
|
6cdf039c70
|
Back out the nonce workaround.
|
2012-06-01 21:01:23 -07:00 |
|
JoelKatz
|
be931912c6
|
Nonce code broke the unit test because theAPP is NULL
|
2012-06-01 20:33:34 -07:00 |
|
Arthur Britto
|
545ede1823
|
Merge branch 'pay'
Conflicts:
src/NetworkOPs.cpp
src/SHAMap.cpp
|
2012-06-01 01:23:19 -07:00 |
|
Arthur Britto
|
c13bf4d606
|
Use mNonce256 in SHAMap hashing.
|
2012-06-01 01:17:16 -07:00 |
|
Arthur Britto
|
e10505d2a7
|
Cosmetic changes.
|
2012-05-31 20:24:49 -07:00 |
|
JoelKatz
|
83d8a347ee
|
Make SHAMapNode::ClassInit self-invoking.
|
2012-05-31 13:35:27 -07:00 |
|
JoelKatz
|
ad9deda4e8
|
Stupid Arthur and his stupid edge cases.
(Stupid because they expose bugs in *MY* code!)
|
2012-05-31 02:56:07 -07:00 |
|
JoelKatz
|
31a44088d6
|
Cleanups/bugfixes.
|
2012-05-31 02:40:51 -07:00 |
|
Arthur Britto
|
dad9568f4f
|
Work toward big endian
|
2012-05-31 01:51:58 -07:00 |
|
Arthur Britto
|
61e075bff3
|
Eliminate dead code in uint256.h
|
2012-05-31 00:10:49 -07:00 |
|