Arthur Britto
9c7e033596
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2012-10-18 00:13:00 -07:00
Arthur Britto
04f369886a
JS: Have remote look in the current ledger to get Sequence for new accounts.
2012-10-18 00:12:48 -07:00
JoelKatz
b09318f8d3
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2012-10-17 23:39:32 -07:00
JoelKatz
e534f0ba78
Allow log levels to be tweaked at run time.
2012-10-17 23:39:14 -07:00
Arthur Britto
660c7e3b2b
JS: Fix ripple_line_set.
2012-10-17 23:27:57 -07:00
Arthur Britto
4083ca2a8a
JS: Add support for config accounts to UInt160.parseJson().
2012-10-17 23:27:19 -07:00
Arthur Britto
bacfcff48c
Improve remote.js and test starts.
...
- Transactions now emit 'pending' and 'lost'
- Remote now supports once().
- Tests now use 'ledger_closed' to know when to start.
- Fix quick close of remote.
2012-10-17 18:15:04 -07:00
Arthur Britto
d7ccf1f7a6
Cosmetic.
2012-10-17 16:50:41 -07:00
Arthur Britto
2f4867caec
JS: report final transaction status.
2012-10-17 15:41:18 -07:00
Arthur Britto
b23f596e3f
JS: Automatically subscribe to server.
2012-10-17 15:37:23 -07:00
Arthur Britto
9ced36eca6
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2012-10-17 14:55:06 -07:00
Arthur Britto
c3d03a9f28
Fix parseJson for Amount.
2012-10-17 14:55:00 -07:00
Arthur Britto
edf47a7a07
JS: Automatically maintain connection.
2012-10-17 13:26:31 -07:00
Arthur Britto
851768848b
WS: Do not announce unvalidated ledgers.
2012-10-17 13:25:34 -07:00
JoelKatz
9ee4ec0649
Some cleanups.
2012-10-17 10:23:03 -07:00
JoelKatz
67be1a8a55
This floods the log during testing.
2012-10-17 07:03:54 -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
Arthur Britto
56a7e48cd9
UT: Allow tests to use existing server.
2012-10-16 20:32:40 -07:00
JoelKatz
a568f6ff26
Logging improvements. Bugfix for txmeta JSON output.
2012-10-16 16:33:31 -07:00
JoelKatz
60afa9f147
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2012-10-16 16:25:08 -07:00
JoelKatz
517f3aa031
Merge TER codes with transaction result metadata codes.
2012-10-16 16:24:32 -07:00
JoelKatz
6675a79b63
Mark that the tep codes are part of the binary format.
2012-10-16 16:24:15 -07:00
JoelKatz
56b5b5c597
Mark the code that doesn't work because it can't get to transResultInfoA.
...
(Only needed for JSON->binary transaction metadata which nobody may ever want anyway.)
2012-10-16 16:23:42 -07:00
Arthur Britto
5e8539e8c3
Cosmetic.
2012-10-16 16:13:10 -07:00
Arthur Britto
8f1fb9cb31
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2012-10-16 15:50:41 -07:00
Arthur Britto
a189230984
Cosmetic.
2012-10-16 15:50:33 -07:00
Arthur Britto
5558505288
JS: Improvements to transaction result handling for remote.js
2012-10-16 15:49:42 -07:00
Arthur Britto
5d1a9b7e53
WS: Add transaction_entry request.
2012-10-16 15:48:09 -07:00
Arthur Britto
416427bdf9
Really disallow negative amounts for CreditSet.
2012-10-16 15:47:55 -07:00
JoelKatz
25d888ff48
Include the transaction result in the metadata.
2012-10-16 14:36:36 -07:00
JoelKatz
0ae65b5fd0
Some UInt8 support was missing.
2012-10-16 14:33:51 -07:00
JoelKatz
542dc969f5
Updates.
2012-10-16 14:17:09 -07:00
JoelKatz
c07ffecf1a
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2012-10-16 13:56:56 -07:00
JoelKatz
cab69318b1
Better debug and a data corruption bugfix.
2012-10-16 13:56:37 -07:00
JoelKatz
d9262e5cdb
Fix a backwards assert.
2012-10-16 13:56:23 -07:00
JoelKatz
a9447fdfd1
Use new metadata code.
2012-10-16 13:56:13 -07:00
JoelKatz
9e8a7d4ced
Remove all the old txn meta code. It's not obsolete
2012-10-16 13:55:57 -07:00
JoelKatz
1f89317c07
Fix JSON for arrays.
2012-10-16 13:55:34 -07:00
JoelKatz
7e29b4fae7
Some additional helper functions.
2012-10-16 13:07:22 -07:00
jed
2ab9fcd548
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2012-10-16 12:40:18 -07:00
jed
cf32d900de
windows
2012-10-16 12:40:07 -07:00
JoelKatz
2de864d23b
Updates.
2012-10-16 11:49:34 -07:00
JoelKatz
6f23c44152
Fix a few cases where SHAMap nodes don't get correctly written.
...
When we fetch a node from the database, we artificially mark it "old" so modifications are saved.
New nodes are added to the dirty node tray if it is armed.
2012-10-16 11:48:49 -07:00
JoelKatz
68b8360cda
Hashes for transaction nodes with metadata were miscomputed. This may cause broken nodes
...
not to stay synched with working nodes.
2012-10-16 11:47:42 -07:00
JoelKatz
2ebf8a7968
Cleanup.
2012-10-16 11:47:01 -07:00
jed
4a945629f2
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2012-10-16 11:37:17 -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
afe016415e
Ensure all dirty SHA nodes are fully written before writing the ledger header.
...
To avoid a performance penalty, write accountstate nodes while we're waiting.
2012-10-16 06:53:06 -07:00
JoelKatz
599ebe3c61
Write ledger dirty SHA nodes before ledger header.
2012-10-16 06:43:34 -07:00
JoelKatz
83cfc7a3df
Make sure we clear the 'need network ledger' flag if we jump ledgers during consensus.
2012-10-16 06:10:13 -07:00