Commit Graph

97 Commits

Author SHA1 Message Date
JoelKatz
66338e4a0a Add metadata to some JSON outputs. 2012-09-13 01:29:27 -07:00
JoelKatz
953f0ad63f Don't charge for transactions twice. Have the "old" getTransaction handle metadata sanely.
Fix calcRawMeta to fit the new model where an LES holds a reference to its ledger
Don't put metadata in open ledger txn sets to avoid breaking the proposal mechanism.
2012-09-13 01:01:40 -07:00
JoelKatz
d2336e3eea Ledger functions to handle transaction metadata. 2012-09-12 18:40:16 -07:00
JoelKatz
30cd0e197d Remove dead code that's in my way. 2012-09-12 09:18:03 -07:00
Arthur Britto
fe6c5d2b60 Comment out bad assert. 2012-09-08 15:36:23 -07:00
JoelKatz
63921c9757 Cleanups and fixes. 2012-09-07 22:21:07 -07:00
JoelKatz
390e628f10 Cmall cleanups and fixes. 2012-09-07 15:06:25 -07:00
JoelKatz
02bd898e51 Some const-correctness.
const SLE::pointer & -> SLE::ref
2012-08-31 18:26:45 -07:00
JoelKatz
9ef0a5491b Use "Ledger::ref" instead of "const Ledger::pointer&". 2012-08-31 18:11:41 -07:00
JoelKatz
651cee5738 Clean up ledger JSON output. 2012-08-30 10:44:21 -07:00
Arthur Britto
acb4502a04 Work toward rippling through offers. 2012-08-23 13:26:53 -07:00
jed
6694372af7 . 2012-08-20 17:01:53 -07:00
jed
1c5481bad7 forgot some functions 2012-08-20 11:53:43 -07:00
jed
3dc0646ed8 moved all Ledger:: functions to the same .cpp file 2012-08-20 09:51:10 -07:00
jed
336a1c27fc Merge branch 'master' of github.com:jedmccaleb/NewCoin
Conflicts:
	src/LedgerNode.cpp
2012-08-20 09:42:15 -07:00
jed
5484205b26 Merge branch 'master' of github.com:jedmccaleb/NewCoin
Conflicts:
	src/RippleLines.cpp
2012-08-20 09:40:40 -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
046c539d49 Mark a parameter as unused. 2012-08-14 01:51:35 -07:00
JoelKatz
5b431ea4f6 Fix the bug Jed reported where our second closed ledger has a close time in the past which
crashes the CLC timing code.
2012-08-10 10:51:35 -07:00
JoelKatz
b14b2f5dab Separate close times and network times. 2012-08-06 02:12:27 -07:00
JoelKatz
6b079cb951 Cleanup. 2012-07-17 15:55:27 -07:00
Arthur Britto
aa1f2d3c6a Merge branch 'ripple'
Conflicts:
	src/TransactionEngine.cpp
2012-07-17 13:32:29 -07:00
Arthur Britto
fcd13d0208 Work on offers. 2012-07-16 18:54:31 -07:00
JoelKatz
2e2547ad0a Close time fixes. 2012-07-15 23:46:38 -07:00
JoelKatz
0e8de5b6f0 Bugfix. 2012-07-15 23:43:57 -07:00
JoelKatz
46af12050c Add close time information to ledger json output. 2012-07-15 16:26:09 -07:00
JoelKatz
4b91e91f43 Bugfix. 2012-07-14 02:16:44 -07:00
JoelKatz
5f5633c163 Bugfix. 2012-07-14 01:57:34 -07:00
JoelKatz
6bf1a154b0 Typo. 2012-07-14 00:24:20 -07:00
JoelKatz
5a660d1f04 Bugfixes. 2012-07-14 00:17:41 -07:00
JoelKatz
513d248c93 Change ledger and db structures to use new ledger close timing logic. 2012-07-11 18:18:28 -07:00
JoelKatz
00ab5ed0cf Low-level support for transaction metadata. 2012-07-05 18:27:40 -07:00
JoelKatz
83650ce41a Merge branch 'master' into continuousClose 2012-07-01 08:19:20 -07:00
Arthur Britto
85919c02f3 Add WS support for reporting accepted transactions. 2012-07-01 00:40:56 -07:00
JoelKatz
182228b6f9 Infrastructure for continuous ledger close. 2012-06-30 16:58:05 -07:00
JoelKatz
5ed0197a42 Correctly update transactions in memory when a ledger closes. 2012-06-28 13:27:10 -07:00
JoelKatz
48de3f3a02 Cleanup. 2012-06-27 12:04:20 -07:00
Arthur Britto
74e831a3e7 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-06-25 23:31:30 -07:00
Arthur Britto
b56da4a73d Get WS ledger_subscribe and ledger_unsubscribe working. 2012-06-25 23:31:13 -07:00
JoelKatz
5e7c389085 Use new hash prefix. Remove SHAMapException 2012-06-25 09:12:54 -07:00
JoelKatz
324992b2ad Bugfixes. 2012-06-24 06:31:03 -07:00
JoelKatz
d81b1e6c84 Cleanups. 2012-06-22 00:41:40 -07:00
JoelKatz
94bc059f87 Fix some mishandling of genesis block close timing. 2012-06-20 13:40:10 -07:00
JoelKatz
a3daa061d3 Make sure the ledger hash is up to date when we set the immutable flag. 2012-06-18 19:56:34 -07:00
JoelKatz
1f8e1e0dcc Remove a broken assert. 2012-06-18 19:10:11 -07:00
JoelKatz
195c37b7c2 Fix another one. 2012-06-18 11:05:28 -07:00
JoelKatz
62dfd40ce9 Make SQL updates more sane. 2012-06-18 10:57:10 -07:00
JoelKatz
7e286839bb Suppress SQL errors in two cases where they are normal. 2012-06-18 10:30:10 -07:00
JoelKatz
bb6867345e Remove FIXME. 2012-06-18 00:32:51 -07:00
jed
2d7e096d29 start standardizing the RPC returns 2012-06-11 15:40:40 -07:00