Commit Graph

163 Commits

Author SHA1 Message Date
JoelKatz
36fb085114 Make this more readable. 2012-08-14 15:59:25 -07:00
JoelKatz
e473ce8424 Support "standalone" mode (-a or --standalone) in which we do not connect
to the network and do not close ledgers. This mode makes it much easier to
test transactions as they are only applied once to the open ledger.
2012-08-14 15:35:30 -07:00
JoelKatz
04427b4ad0 Cleanups. 2012-08-13 23:15:50 -07:00
JoelKatz
ba6e65214b Log whether a ledger is alive or dead when considering it as LCL. 2012-08-13 19:23:49 -07:00
JoelKatz
efa3653b80 Bugfix for moving from connected to tracking state.
Skeleting for getting Json info from consensus engine.
2012-08-06 03:40:52 -07:00
JoelKatz
e491922058 Simplify. 2012-08-06 03:06:16 -07:00
JoelKatz
71b5b19198 Bugfix. 2012-08-06 02:25:59 -07:00
JoelKatz
39b28e1f50 Don't switch to a dead ledger. Without this, we can even get out of sync with ourselves! 2012-08-06 02:21:17 -07:00
JoelKatz
b14b2f5dab Separate close times and network times. 2012-08-06 02:12:27 -07:00
JoelKatz
6bd7738303 Make time errors a thing of the past. 2012-08-05 00:19:41 -07:00
JoelKatz
97c1dc73f6 Use the offset. 2012-08-03 04:40:10 -07:00
JoelKatz
d251a67d17 Fix typos. 2012-08-03 03:47:27 -07:00
JoelKatz
debcea79f0 Don't switch to our own previous ledger. 2012-08-03 03:46:31 -07:00
JoelKatz
c5f7656137 Better logging of ledger jumps. 2012-08-03 02:57:36 -07:00
JoelKatz
0f44af556e Better reporting of ledger jumps. 2012-08-02 11:51:24 -07:00
JoelKatz
a902134133 Don't be blind to validations during the idle time. 2012-08-01 15:00:39 -07:00
JoelKatz
ee3562a9a9 Cleanup resynch logic. 2012-08-01 14:38:29 -07:00
Arthur Britto
a61cf78299 Better handling of full values for amounts. 2012-07-20 14:16:34 -07:00
Arthur Britto
af92bb5347 Santize locally submited transactions. 2012-07-18 14:48:50 -07:00
JoelKatz
333c9896fb Cut to millisecond timing. 2012-07-17 17:48:55 -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
e89af2f784 Merge branch 'continuousClose'
Conflicts:
	src/LedgerAcquire.cpp
	src/NetworkOPs.h

Merge continuous ledger close into main branch. YAY!
2012-07-16 14:48:21 -07:00
JoelKatz
7e7356c155 Cleanups and bugfixes. 2012-07-16 00:47:46 -07:00
JoelKatz
0f3a218aea Typo. 2012-07-16 00:31:17 -07:00
JoelKatz
74ef722156 Split the difference. 2012-07-16 00:30:41 -07:00
JoelKatz
d3f95a37c9 We have to at least count our own ledger, otherwise we can find no closed ledgers at all. 2012-07-15 23:30:14 -07:00
Arthur Britto
0f47f72e30 Work on WS account_info_subscribe. 2012-07-14 22:13:22 -07:00
Arthur Britto
6feb16709e Add RPC owner_info. 2012-07-14 17:21:43 -07:00
jed
13a68da567 compile on windows 2012-07-14 08:41:05 -07:00
JoelKatz
5a660d1f04 Bugfixes. 2012-07-14 00:17:41 -07:00
JoelKatz
7ce766dd4f Merge branch 'master' of github.com:jedmccaleb/NewCoin into continuousClose 2012-07-13 23:55:27 -07:00
Arthur Britto
81def6601f Create transactions offer_create & offer_cancel. 2012-07-13 15:32:03 -07:00
JoelKatz
db2e9f83dd More debug. 2012-07-13 10:25:04 -07:00
JoelKatz
34c5a22d81 By controlling when we create a LedgerConsensus object, we can control when we switch our view
of the network's LCL.
2012-07-13 10:15:01 -07:00
JoelKatz
338fa90387 Correctly sequence to acquiring a new LCL if it changes. Don't keep acquiring the old one. 2012-07-12 23:07:55 -07:00
JoelKatz
b5fa3a0900 32-bit network times. Mark a FIXME. 2012-07-12 01:43:18 -07:00
JoelKatz
6cf3657dc4 Merge branch 'master' of github.com:jedmccaleb/NewCoin into continuousClose 2012-07-10 19:25:27 -07:00
JoelKatz
187130fe31 Properly sequence from one converge window to the next. 2012-07-10 19:24:52 -07:00
Arthur Britto
a61269ddd3 Make NetworkOPs::getDirNodeInfo more robust. 2012-07-10 14:54:09 -07:00
Arthur Britto
878a0889ee Fix reporting of lines by ripple_lines_get. 2012-07-10 14:11:38 -07:00
JoelKatz
c82bd2805b Merge branch 'master' of github.com:jedmccaleb/NewCoin into continuousClose
Conflicts:
	src/Ledger.h
	src/LedgerNode.cpp
	src/Version.h
2012-07-10 10:31:13 -07:00
JoelKatz
f5783820f8 Detect "radio silence" 2012-07-09 10:42:44 -07:00
Arthur Britto
e5ad771708 Move to new directory format. 2012-07-07 17:46:47 -07:00
JoelKatz
83650ce41a Merge branch 'master' into continuousClose 2012-07-01 08:19:20 -07:00
Arthur Britto
8f9030cb98 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-07-01 00:41:07 -07:00
Arthur Britto
85919c02f3 Add WS support for reporting accepted transactions. 2012-07-01 00:40:56 -07:00
JoelKatz
c8c088212e Merge branch 'master' into continuousClose 2012-06-30 23:30:27 -07:00
JoelKatz
c7eb0269c2 For now, detect clocks out of sync and disallow connection.
Improve speed of ledger synchronization by compressing all three base queries into one.
2012-06-30 22:17:53 -07:00
JoelKatz
182228b6f9 Infrastructure for continuous ledger close. 2012-06-30 16:58:05 -07:00