JoelKatz
c4432bfc0c
Fix some paths we missed.
2013-04-08 01:17:20 -07:00
JoelKatz
0be086b1a4
Count a path to the destination extra.
2013-04-08 00:10:51 -07:00
JoelKatz
950d6b3f55
Off by one error. Thank you unit tests.
2013-04-08 00:10:41 -07:00
JoelKatz
f78424a2d5
Statistical path exploration. Phase one.
2013-04-08 00:10:36 -07:00
JoelKatz
3f3374d1d8
This is the correct fix.
2013-04-08 00:10:25 -07:00
JoelKatz
56fe0457d6
Add an extra phase to the process of deciding which ripple lines to explore.
...
It will make sense shortly.
2013-04-08 00:10:09 -07:00
JoelKatz
ebb77d668a
Cleanup.
2013-04-08 00:10:01 -07:00
JoelKatz
14a720ebdc
Avoid redundant exploration.
2013-04-08 00:09:46 -07:00
JoelKatz
4af8b40e3a
Some small optimizations.
2013-04-08 00:09:31 -07:00
JoelKatz
6b267abee2
Always return a "transactions" array in account_tx, even if it's empty.
2013-04-08 00:09:18 -07:00
JoelKatz
e87fce1542
Remove unneccessary copies.
2013-04-08 00:08:55 -07:00
JoelKatz
04d48a6d21
Emergency fix: Sanely handle taking a position we previously failed to acquire.
2013-04-05 09:57:24 -07:00
JoelKatz
7131564eb1
Emergency patch to fix ledger not closing.
...
Do not timeout on acquiring a transaction set if a trusted peer
still proposes it. Instead, fetch more aggressively.
2013-04-05 09:41:43 -07:00
jatchili
f37737edd3
account_tx-test.js - uses new ordering scheme
2013-04-04 16:09:30 -07:00
jatchili
fc79cd867e
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2013-04-04 15:31:19 -07:00
JoelKatz
b3f2f68682
Fix bug in AccountTransactions database creation.
2013-04-04 15:26:35 -07:00
jatchili
2c20b313c9
Made some changes to account_tx-test.js
2013-04-04 12:02:52 -07:00
Arthur Britto
437fd44e42
Comment out broken account_tx-test.js
2013-04-03 17:21:46 -07:00
Arthur Britto
43b0e80cdc
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2013-04-03 17:21:18 -07:00
Arthur Britto
7b98191d68
Make ripple balance checks more lenient.
2013-04-03 17:12:39 -07:00
JoelKatz
5d4e7db788
Fix the fix.
2013-04-03 14:20:20 -07:00
JoelKatz
88dba87fa9
Fix the deadlock. Can't hold the LedgerMaster lock when calling a pub* function.
2013-04-03 14:17:06 -07:00
JoelKatz
1894b2d4b8
Missing log message.
2013-04-03 13:47:09 -07:00
JoelKatz
e7a41fab8f
Restore the original behavior.
...
We do not want to call RAND_screen because it calls RAND_poll.
Let me know if this breaks anything.
2013-04-02 16:46:28 -07:00
Arthur Britto
2822251e4e
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2013-04-02 15:08:59 -07:00
JoelKatz
116c89fad5
Add "round to zero" to subRound/addRound.
2013-04-02 15:07:40 -07:00
JoelKatz
00e2ac8298
Fix a race applying connections to the open ledger.
2013-04-02 13:41:42 -07:00
JoelKatz
24fe80e629
Cleanup.
2013-04-02 13:41:34 -07:00
JoelKatz
335716c1c6
Extra statement constructor.
2013-04-02 13:41:17 -07:00
Arthur Britto
791706e8c3
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2013-04-02 13:23:29 -07:00
JoelKatz
2e28179217
Suppress some warnings.
2013-04-02 12:24:05 -07:00
JoelKatz
d73995e695
An optimization. Faster GetHex for exact strings.
2013-04-01 21:01:06 -07:00
JoelKatz
78d1a93e69
Reusing prepared statements is slower.
2013-04-01 20:24:01 -07:00
Arthur Britto
6f8f3f78fa
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2013-04-01 19:21:36 -07:00
JoelKatz
2e21391c93
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2013-04-01 19:04:33 -07:00
JoelKatz
5cc9314d03
Add a framework for detecting databases that need updating.
...
Put transaction from account_tx command in transaction application sequence.
CAUTION: This modifies your databases and will cause a delay on your next startup.
2013-04-01 19:03:28 -07:00
jatchili
9565b21740
Merge branch 'master' of github.com:jedmccaleb/NewCoin
...
Conflicts:
src/js/remote.js
2013-04-01 16:50:02 -07:00
jatchili
5659fb44b3
Added unit test: account_tx-test.js. Also, revised request_account_tx in remote.js to use the new argument list for account_tx.
2013-04-01 16:24:48 -07:00
Vahe Hovhannisyan
1725b5df48
JS: new account_tx
2013-04-01 17:09:17 +04:00
JoelKatz
d0009872c1
Check.
2013-03-31 23:57:03 -07:00
JoelKatz
450fb5c0db
Cosmetic.
2013-03-31 23:56:48 -07:00
JoelKatz
f6b9e0ca80
Should return 'false', not throw.
2013-03-31 23:56:37 -07:00
JoelKatz
23183c23bd
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2013-03-31 23:56:21 -07:00
JoelKatz
526b4a4a6d
Don't permit XRP to be specified as an object.
2013-03-31 23:55:59 -07:00
Arthur Britto
6206264a5a
Typo.
2013-03-31 16:55:35 -07:00
Arthur Britto
96733c2874
Add trust auto clear. Fixes #28
2013-03-31 16:15:45 -07:00
JoelKatz
bd4e00e391
On some platforms, make_shared can only count to 9.
2013-03-31 15:39:38 -07:00
JoelKatz
2f943126e6
Must pass by reference.
2013-03-31 15:36:34 -07:00
JoelKatz
ac202c199d
If an addition or subtraction has a microscopic amount left, make it zero.
2013-03-31 10:37:08 -07:00
JoelKatz
fbe8823439
Don't blow up if we have a ledger in the ledger DB but not its root map node in the node DB.
2013-03-30 19:53:34 -07:00