Commit Graph

1949 Commits

Author SHA1 Message Date
JoelKatz
6e1ffd752d Well, that was painful. Can't use vectors because they slice. Can't use sets
because their contents are immutable. Can't use maps because there's no type
that corresponds to the sort order. Can't use a vector of pointers because
they won't snapshot/copy correctly. No real choice but to use
boost::ptr_vector and create the necessary helper functions for it to work.
2012-07-30 23:42:57 -07:00
JoelKatz
a01909fa4b Some transaction metadata fixes. 2012-07-30 00:29:42 -07:00
JoelKatz
1167ba2cc0 Set up for ledger diffs to populate the metadata.
Special case for unfunded offers -- need to know how much was taken before deletion
2012-07-28 14:49:34 -07:00
Arthur Britto
74d0fe000c Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-07-27 14:07:15 -07:00
Arthur Britto
18c8045ba6 Make STPathSet BOOST_FOREACH compatible. 2012-07-27 14:06:45 -07:00
JoelKatz
2e867c37e8 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-07-27 12:56:45 -07:00
JoelKatz
ce2e1cea33 Beging merging transaction metadata code with ledger entry set code. 2012-07-27 12:56:28 -07:00
Arthur Britto
453f72661b Update RPC, transactions, and ledger for new accountRootNode format. 2012-07-26 19:07:52 -07:00
JoelKatz
ad77087ee5 Remove some unneeded reference count bumps. 2012-07-26 16:38:42 -07:00
JoelKatz
c5995e9e1e Add some asserts. 2012-07-26 16:35:36 -07:00
JoelKatz
061460b1f8 Fix a case I mishandled. 2012-07-26 16:25:51 -07:00
JoelKatz
487590b938 Fixes. 2012-07-26 16:22:40 -07:00
Arthur Britto
073f3904ec LedgerEntrySet fixes. 2012-07-26 16:13:39 -07:00
Arthur Britto
8e4ead4b62 Merge branch 'master' of github.com:jedmccaleb/NewCoin
Conflicts:
	src/LedgerEntrySet.h
2012-07-26 12:51:59 -07:00
Arthur Britto
e2dd0b1fb2 Cosmetic. 2012-07-26 12:50:50 -07:00
JoelKatz
952b0d5ec5 Small cleanup. 2012-07-26 04:10:01 -07:00
JoelKatz
5fa4bad9b5 Switch to the new LedgerEntrySet code. This provides more sophisticated checkpointing and rewinding. 2012-07-26 04:07:37 -07:00
JoelKatz
b575e72093 Metadata structures for deletion of unfunded offers. 2012-07-25 18:40:08 -07:00
JoelKatz
de6ef42baf Complete the basic API for LedgerEntrySet's. 2012-07-25 04:01:42 -07:00
JoelKatz
40c4d686fb LedgerEntrySet work. 2012-07-25 02:46:19 -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
f6a7d86f2b Cleanup. 2012-07-25 02:42:18 -07:00
JoelKatz
b31ae630cf Small bits. 2012-07-25 01:51:41 -07:00
JoelKatz
39ed76a8ff This should be the API Arthur needs. 2012-07-25 01:49:58 -07:00
Arthur Britto
143e437aba Merge branch 'ripple' 2012-07-24 19:46:43 -07:00
Arthur Britto
de4af3a8ce Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-07-24 19:45:56 -07:00
Arthur Britto
4d6c37857e Work in progress on ripple. 2012-07-24 19:45:47 -07:00
Arthur Britto
aababa680f Add ripple quality in and out. 2012-07-24 15:02:09 -07:00
JoelKatz
f9e8a77d90 Bugfix and some more missing pieces. 2012-07-24 13:27:57 -07:00
JoelKatz
478d567531 More transaction metadata work. 2012-07-23 23:11:03 -07:00
JoelKatz
2ba8527f07 More TransactionMetadata work. 2012-07-23 02:59:49 -07:00
JoelKatz
90f64e4c0d Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-07-23 01:55:58 -07:00
JoelKatz
fb60b99781 Header for classes to manipulate transaction metadata. 2012-07-23 01:55:20 -07:00
Arthur Britto
276f6f4da1 Change sfDirectory to sfBookDirectory. 2012-07-20 15:23:32 -07:00
Arthur Britto
101ce61953 Cosmetic. 2012-07-20 14:25:10 -07:00
Arthur Britto
0aa415ec0f Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-07-20 14:16:48 -07:00
Arthur Britto
a61cf78299 Better handling of full values for amounts. 2012-07-20 14:16:34 -07:00
JoelKatz
4e4195e229 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-07-20 14:08:47 -07:00
JoelKatz
2230286afb Some small missing pieces for TX metadata. 2012-07-20 14:08:33 -07:00
Arthur Britto
1f02996e1d Minor changes. 2012-07-20 13:04:53 -07:00
jed
e39bdb2a7d Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-07-19 11:26:18 -07:00
JoelKatz
fadca2cb97 Mark the problem. 2012-07-19 08:32:23 -07:00
JoelKatz
e724dcbee8 An ugly temporary fix to handling integers in the RPC parameters. 2012-07-19 08:31:27 -07:00
jed
0dd3614c7c Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-07-18 21:59:19 -07:00
Arthur Britto
71e499a421 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-07-18 19:12:33 -07:00
Arthur Britto
7236eed852 Fixes for applyOffer. 2012-07-18 19:12:27 -07:00
Arthur Britto
d1939cc69d Save changes when sending stamps. 2012-07-18 19:11:57 -07:00
JoelKatz
ab61b7ca46 Let's test divide too, while we're at it. 2012-07-18 17:47:15 -07:00
Arthur Britto
1714695d9b Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-07-18 17:40:24 -07:00
Arthur Britto
d62c6a974e Add logging for offer create. 2012-07-18 17:40:21 -07:00