Commit Graph

37 Commits

Author SHA1 Message Date
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
bef64eaad5 Nicer nonce/hash code. 2012-06-04 06:14:23 -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
JoelKatz
346ab49d7a Allow an update that leaves the node the same. 2012-06-01 14:08:29 -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
JoelKatz
46bfa149d1 Bugfixes. 2012-05-31 21:22:38 -07:00
JoelKatz
18a9f12555 Chatty debug. 2012-05-31 21:13:16 -07:00
JoelKatz
83d8a347ee Make SHAMapNode::ClassInit self-invoking. 2012-05-31 13:35:27 -07:00
JoelKatz
31a44088d6 Cleanups/bugfixes. 2012-05-31 02:40:51 -07:00
JoelKatz
64dc941bc6 Move unit test to new boost framework. 2012-05-31 02:03:17 -07:00
JoelKatz
d442534c70 Cleanups. 2012-05-26 15:11:10 -07:00
JoelKatz
b47a7c0f52 Missing from previous commit. 2012-05-26 10:45:58 -07:00
JoelKatz
5c62f901bd Performance improvements. 2012-05-26 10:36:24 -07:00
JoelKatz
f29a003952 Improve read-only SHAMap functions by avoiding taking shared references
to intermediary nodes.
2012-05-23 19:24:43 -07:00
JoelKatz
13a9e774c6 Rather than working around using SHAMap::hasItem so much, let's just make it efficient. 2012-05-23 19:18:59 -07:00
JoelKatz
fecf3aaac9 Snapshot function. 2012-05-23 15:18:17 -07:00
JoelKatz
45b230c06b Cleanups. 2012-05-17 23:54:09 -07:00
JoelKatz
f030dc2ca1 Bugfix. 2012-05-15 19:12:48 -07:00
JoelKatz
98d2733706 Cosmetic changes. 2012-05-15 18:20:07 -07:00
JoelKatz
4ad3532037 Cosmetic changes. 2012-05-15 18:13:59 -07:00
JoelKatz
169da7d5e8 Cosmetic changes. 2012-05-15 18:10:44 -07:00
JoelKatz
0efeedffdc Cleanups. 2012-05-15 17:37:57 -07:00
jed
d34a274daf Merge branch 'master' of github.com:jedmccaleb/NewCoin
Conflicts:
	src/main.cpp
2012-05-15 16:58:21 -07:00
Arthur Britto
0b5a5e710e Fix tag check in SHAMap. 2012-05-15 16:18:23 -07:00
jed
fec2aeb579 windows 2012-05-15 16:16:44 -07:00
JoelKatz
71b61a633d Bugfix. In edge cases (such as a tree no inner nodes), walkTo could return
a node that shouldn't be returned.
2012-05-08 19:52:57 -07:00
Arthur Britto
18bf10a7c0 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-05-07 18:39:32 -07:00
Arthur Britto
0492ea5877 Cosmetic SQL clean up. 2012-05-07 18:39:19 -07:00
JoelKatz
133ee09297 Updates. 2012-05-07 16:27:18 -07:00
JoelKatz
c231c3571e Tiny cleanup. 2012-04-26 18:58:03 -07:00
JoelKatz
3a09455e6c Remove dead code. Change unit tests to compensate. 2012-04-23 15:58:05 -07:00
Arthur Britto
c513e45754 Move sources to src and build objs in obj. 2012-03-06 22:43:06 -08:00