Commit Graph

2640 Commits

Author SHA1 Message Date
JoelKatz
2a13b9b7db Fix the '--load' logic. 2012-10-11 07:03:21 -07:00
JoelKatz
ac8e2292cf Add a comment. 2012-10-11 07:03:14 -07:00
JoelKatz
37f246396f Try to populate the ledger root. 2012-10-11 07:02:25 -07:00
JoelKatz
4a86685574 A ledger fetched from SQL is always immutable. 2012-10-11 07:02:02 -07:00
JoelKatz
e18f8c47f5 Use the local hashed object store to jump start fetching a ledger. 2012-10-11 07:01:40 -07:00
JoelKatz
cf6206f19b Some nicer logging. 2012-10-11 07:01:23 -07:00
JoelKatz
55e38c40f7 Cleanups. 2012-10-11 07:01:03 -07:00
JoelKatz
07cd8ad9bd Some extra debug on the dirty node flush code. It appears good. 2012-10-11 06:04:06 -07:00
JoelKatz
8c790b1d88 Remove dead code. 2012-10-11 05:17:35 -07:00
JoelKatz
61c9d30732 Set up to fix the bug Jed reported and also support faulting in nodes under ledgers. 2012-10-11 05:13:29 -07:00
JoelKatz
c43934ab6f Fix lots of places I used 'empty' instead of 'clear'. This is why I like 'isEmpty'. 2012-10-11 05:06:24 -07:00
JoelKatz
4f1ebc2884 Put the missing node type in the SHAMapMissingNode exception. 2012-10-11 03:16:18 -07:00
JoelKatz
67477beecb Track the type of map in the SHAMap. This will make it easier to parse missing nodes
at ledger level.
2012-10-11 03:13:28 -07:00
JoelKatz
30dd46d812 Improve SHAMapMissingNode 2012-10-11 02:50:04 -07:00
Arthur Britto
f81a3c623a More fixes for ripple incremental pass handling. 2012-10-10 22:13:39 -07:00
Arthur Britto
dfff2c61d1 Transaction engine makes sure max send is positive. 2012-10-10 22:12:56 -07:00
Arthur Britto
d086c05966 Fix ripple balance handling between path increments. 2012-10-10 20:50:17 -07:00
Arthur Britto
5f28af66ca Fix error checking in RippleCalc. 2012-10-10 20:12:18 -07:00
Arthur Britto
157dce46cf Fix a problem with offer delivery. 2012-10-10 15:05:31 -07:00
Arthur Britto
e964bf7c9a Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-10-10 12:44:11 -07:00
Arthur Britto
ab6dfadc5f Have RPCServer report messages from throws. 2012-10-10 12:44:00 -07:00
Arthur Britto
9d10cb419a Add Tom Wu BSD licensing for jsbn to LICENSE. 2012-10-10 11:25:11 -07:00
JoelKatz
1448eb1a5c '--net' startup option to require the node to get its ledger from the network.
Once we have a stable network, this will likely be the default.
2012-10-10 01:40:02 -07:00
JoelKatz
850fee99e7 Types for templates, if we decide to use them. 2012-10-10 01:39:20 -07:00
Arthur Britto
84aec67507 JS: Add ledger_accept to remote.js 2012-10-10 00:38:29 -07:00
Arthur Britto
fc73e286c4 WS: Changed response of server_subscribe. 2012-10-10 00:15:40 -07:00
Arthur Britto
2f5ed5951b Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-10-10 00:06:47 -07:00
Arthur Britto
23938b8c2d WS: fix ledger_accept. 2012-10-10 00:06:26 -07:00
MJK
9e6a885af9 Fix minor typo 2012-10-09 22:48:27 -07:00
Arthur Britto
e801b80704 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-10-09 19:17:00 -07:00
Arthur Britto
867ff01a2d UT: split out utils test. 2012-10-09 19:16:10 -07:00
MJK
6d87af5e93 fix typo in code in previous Pathfinder fix 2012-10-09 17:19:12 -07:00
MJK
89febf5b47 Merge branch 'master' of https://github.com/jedmccaleb/NewCoin 2012-10-09 17:02:32 -07:00
MJK
25e10ce9cb bug fix for Pathfinder. Drop zero-length paths; prevent them from getting added and avoid pathbuilding errors later 2012-10-09 17:02:01 -07:00
Arthur Britto
891744431e UT: test for empty string with stringToHex and hexToString. 2012-10-09 16:05:25 -07:00
Arthur Britto
8714e40bcf Improve amount parsing (accept e notation). 2012-10-09 16:04:46 -07:00
Arthur Britto
32251f3c3c Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-10-09 12:25:57 -07:00
Arthur Britto
4c61648a7b WS: Add ledger_accept commnd. 2012-10-09 12:25:51 -07:00
JoelKatz
366aad13e7 Remove Ledger::bumpSeq 2012-10-09 12:06:13 -07:00
JoelKatz
7fba10da4e Create a new open ledger based on the last closed ledger from the DB.
Ledgers loaded from DB are always immutable.
2012-10-09 11:09:02 -07:00
jed
daedc85cdd . 2012-10-09 05:01:03 -07:00
jed
8b5114a23e Merge branch 'master' of github.com:jedmccaleb/NewCoin
Conflicts:
	src/Application.cpp
2012-10-09 03:05:21 -07:00
jed
573865cb23 allow you to load old ledger 2012-10-09 03:01:32 -07:00
JoelKatz
6f2e4b8172 Add RPC "accept_ledger" function which processes all pending transactions (in standalone mode only)
and closes the ledger, opening a new one. The sequence number of the new open ledger is returned.
2012-10-08 20:02:52 -07:00
JoelKatz
49e440c6e4 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-10-08 18:35:45 -07:00
JoelKatz
108d69d29b Remove dead fields. 2012-10-08 18:16:48 -07:00
Arthur Britto
b7c2eb65f2 Cosmetic. 2012-10-08 17:27:00 -07:00
Arthur Britto
2cc4bd5fed JS: improve hexToString and add unit tests. 2012-10-08 16:58:47 -07:00
Arthur Britto
2abb9f7e03 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-10-08 16:15:41 -07:00
Arthur Britto
9ea500a2ab JS: Initial check in of Amount. 2012-10-08 16:15:25 -07:00