Arthur Britto
ec7ce16f68
Fix and improve offer taking and trust setting.
2013-01-23 21:36:37 -08:00
Arthur Britto
51bbe5ffc8
Add path test for issue #23 .
2013-01-19 13:19:17 -08:00
JoelKatz
3b905588b5
Make create after delete officially legal.
2013-01-13 17:47:29 -08:00
JoelKatz
8f5f8bdb4e
It was my bug after all. Fix create after delete.
2013-01-12 21:44:38 -08:00
Arthur Britto
f685e9e9ee
Get rid of assert that prevented all of the extra mile.
2012-12-25 18:28:57 -08:00
Arthur Britto
dc578a8085
Push clean up code for bad ripple nodes.
2012-12-25 18:08:13 -08:00
Arthur Britto
e1330badda
Raise number of entries in directory nodes.
2012-12-25 17:20:04 -08:00
Arthur Britto
14380311a1
Clean up aborted offers support going into debt.
2012-12-25 16:50:10 -08:00
Arthur Britto
f3b216b39f
Handle errors from ripple state creating.
2012-12-25 16:42:33 -08:00
Arthur Britto
77d92e1767
Fix ripple state creating and deleting.
2012-12-25 16:14:10 -08:00
Arthur Britto
194053c87e
Add and move to new tecCLAIM result codes.
2012-12-23 15:52:59 -08:00
JoelKatz
1f74c1e30e
Remove redundant set, log before assert.
2012-12-22 14:07:42 -08:00
Arthur Britto
fadf9aa442
Prevent offers spending from XRP reserve.
2012-12-20 22:23:10 -08:00
Arthur Britto
8b19a356f5
Default owner count to 0 if not available.
2012-12-18 14:40:11 -08:00
JoelKatz
2a06686b7c
Round one of fixes to avoid ridiculous numbers of spurious copy constructor and destructor calls.
...
Most of these fixes involve calls to BOOST_FOREACH to iterate over a map or unordered_map where the
iterator type didn't perfectly match the internal type, so a reference into the map couldn't be created
and a new value/content pair had to be created for each iteration.
2012-12-17 20:20:24 -08:00
Arthur Britto
0bc4a7b1e2
Fix extraneous offer creation.
2012-12-15 16:48:46 -08:00
Arthur Britto
65bb4a8941
Avoid letting owner counts go bad.
2012-12-15 15:22:54 -08:00
Arthur Britto
4baa8b3c5d
Add support for offers to allow parties to go into debt. Broken.
2012-12-15 00:06:12 -08:00
Arthur Britto
12a4ce88ec
Add support for incrementally updating owner count.
2012-12-14 21:19:44 -08:00
JoelKatz
2864dda4eb
Make directory nodes self-descriptive.
...
Callers pass in a "describer" function that stamps new directory entries.
2012-11-30 00:30:19 -08:00
JoelKatz
3f9d2e4b05
bugfix
2012-11-26 09:47:54 -08:00
JoelKatz
ca59a885ca
Suppress metadata for unmodified nodes. Add a transaction application sequence number to txn metadat.
2012-11-25 10:31:33 -08:00
JoelKatz
73ad63849c
Some cleanups.
2012-11-25 08:54:23 -08:00
JoelKatz
2e9d6a0d7d
Cleanup.
2012-11-22 10:11:38 -08:00
JoelKatz
637269fb80
Traverse the correct object when generating modification metadata. Other small similar fixes.
2012-11-21 15:28:50 -08:00
JoelKatz
366b477052
Metadata rework to make it possible to watch things like order books or
...
directories.
1) Some fields are never put in metadata, like Indexes, PreviousTxnID, and
others that are useless/redundant
2) Directory nodes now contain a RootIndex field so you can tell which
directory they're part of.
3) Some fields are always put in metdata, even if they don't change, like
RootIndex. So if a directory entry node is touched, you can tell what
directory it was part of.
Note that this change will cause ledger divergence. Also, existing directory
nodes will not be fully metadata indexed but newly-created nodes will be.
2012-11-18 17:13:19 -08:00
Arthur Britto
cdd3ba0791
Make rippleCredit() do better with ACCOUNT_ONE.
2012-11-17 17:34:04 -08:00
JoelKatz
67fe605967
Some additional logging.
2012-11-15 18:16:48 -08:00
JoelKatz
a4a83bbdda
Wrong field name.
2012-11-13 13:39:36 -08:00
JoelKatz
4fe3f7c7e0
Include ledger entry type in metadata. Include more new/changed/final field
...
values in transactions metadata.
2012-11-12 13:40:02 -08:00
JoelKatz
644aa28e5b
Fix the need to call setIndex after creating a new SLE.
...
Finish the ledger skip list code. (Note that this will cause ledger divergence if old code talks to new code.)
2012-11-08 04:36:15 -08:00
Stefan Thomas
fa3fab5816
Moved cpp code to src/cpp and js code to src/js.
2012-11-07 12:49:50 -08:00