JoelKatz
5451e20eaa
Make getAccountState use getSLEi.
...
Make getSLEi work against a mutex ledger without holding a master lock.
2013-02-21 06:47:38 -08:00
JoelKatz
73c795a4b2
I guess I couldn't get away with this.
2013-02-21 02:52:22 -08:00
JoelKatz
1e2aba6b38
Ledger acquire timing changes. Better logging of acquire stalls.
2013-02-21 02:47:19 -08:00
JoelKatz
a2a52ad88b
Fix a crash bug reported by Jon Montroll.
...
ConnectionPool::peerConnect called Peer::connect while holding the
ConnectionPool::mPeerLock. But Peer::connect could call Peer::detach which
calls ConnectionPool::peerClosed which tries to acquire the
ConnectionPool::mPeerLock mutex. Said mutex was not recursive. Belt and
suspenders fix -- make the mutex recursive and make
ConnectionPool::peerConnection call Peer::connect without holding the
ConnectionPool::mPeerLock mutex. (This was intended to be a fast, internal
mutex and calls to external 'heavy' functions should not be made while
holding it.)
2013-02-21 02:43:20 -08:00
JoelKatz
0d928f8471
Small bugfix.
2013-02-21 00:37:39 -08:00
JoelKatz
44f9106556
Complete the peer ping/pong logic. Disconnect idle/broken peers.
2013-02-20 21:42:27 -08:00
JoelKatz
644b9448f7
Drop fees faster.
2013-02-20 14:32:59 -08:00
JoelKatz
2de9ffe4dc
Up target latencies for client commands.
2013-02-20 14:28:16 -08:00
JoelKatz
52c378411d
If we start seeing acquire timeouts, don't start new acquires.
...
The link could be overloaded.
2013-02-20 13:30:57 -08:00
JoelKatz
25c52b1a4d
Use getSLEi to get an immutable SLE. This lets us cache them.
2013-02-20 12:00:38 -08:00
JoelKatz
ba37349b95
Function to get map entry with its hash.
2013-02-20 11:59:33 -08:00
JoelKatz
24355e17fb
I apologize for this moderate buchery, but we need to save the calls to base58::ToString
2013-02-20 11:58:57 -08:00
Arthur Britto
3191bd4922
Limit paths returned by pathfinder.
2013-02-20 11:06:57 -08:00
Arthur Britto
4ad437c783
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2013-02-20 11:05:18 -08:00
JoelKatz
4bc9a9fdb0
Allow -3 to select last fully-validated ledger.
2013-02-20 09:41:23 -08:00
JoelKatz
7552f9eacf
Some optimizations.
2013-02-20 09:33:09 -08:00
JoelKatz
c375d2d96b
Logging reduction.
2013-02-19 15:44:12 -08:00
JoelKatz
4d6bf6fd43
Logging reductions.
2013-02-19 15:41:03 -08:00
JoelKatz
7c7944a82c
Disambiguate rpcSRC_ACT_NOT_FOUND errors so it's clear when it's the
...
secret that's at fault.
2013-02-19 13:48:46 -08:00
JoelKatz
637b7e5431
Make the CA servers used for outbound HTTPS connections configurable.
2013-02-19 13:48:25 -08:00
Arthur Britto
fb5637d3e0
Add hotwallets to ripple-example.txt
2013-02-19 13:38:49 -08:00
JoelKatz
6c6e8777f4
Log outbound connection certificate verification failures.
2013-02-19 13:11:24 -08:00
JoelKatz
875b47ca75
Typo.
2013-02-19 07:59:21 -08:00
JoelKatz
47167a4e36
Typo.
2013-02-19 07:57:57 -08:00
JoelKatz
6ba2d4fd61
Make types compatible.
2013-02-18 12:06:43 -08:00
JoelKatz
9f3f86fe4e
Extra constructor.
2013-02-18 12:06:18 -08:00
JoelKatz
ea00a06dba
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2013-02-18 12:05:21 -08:00
JoelKatz
97b748afe7
Fix startup with no configured peer_ip.
2013-02-18 12:04:06 -08:00
Stefan Thomas
d3b7a59b91
CLI: Add help for account_tx.
2013-02-18 15:07:27 +01:00
Stefan Thomas
594e3d7f3f
JS: Correct object reference in Account.
2013-02-18 14:59:45 +01:00
Arthur Britto
68403ae1a2
JS: Fix Add for Amount.
2013-02-18 00:41:57 -08:00
Arthur Britto
8d249e2403
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2013-02-17 23:20:13 -08:00
Arthur Britto
4c8d405cc1
JS: Fix add of zero for non-XRP.
2013-02-17 23:19:31 -08:00
Arthur Britto
46223e26bf
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2013-02-17 23:00:04 -08:00
Arthur Britto
2ad9ccdc10
JS: Amount set_currency() nows sets _is_native.
2013-02-17 22:57:12 -08:00
Arthur Britto
0d18274a69
JS: Add is_positive() to Amount.
2013-02-17 22:04:44 -08:00
Arthur Britto
fbc619c2e3
Move gateways option to opts instead of config.
2013-02-17 21:07:09 -08:00
JoelKatz
676fb5462a
Set the 'validated' field a bit more logically.
2013-02-17 17:10:17 -08:00
JoelKatz
72ee15afe9
Improve account_tx. Better performance, identify fully-validated transactions.
2013-02-17 16:49:57 -08:00
JoelKatz
bff793916e
Missing type.
2013-02-17 16:49:53 -08:00
JoelKatz
a941a575ec
Make sure we always have a "last validated ledger".
2013-02-17 16:49:37 -08:00
JoelKatz
84a2af37f9
Add 'getValidatedSeq'.
2013-02-17 16:49:24 -08:00
JoelKatz
862dbd7234
Add NetworkOPs::isValidate functions to check if a ledger is fully validated.
2013-02-15 19:01:48 -08:00
JoelKatz
fd009a750a
Validated check was backwards.
2013-02-15 10:40:00 -08:00
JoelKatz
78f058d710
Add a 'validated' field to the 'tx' output. If true, the transaction metadata
...
came from a fully-validated ledger.
2013-02-15 09:32:24 -08:00
Stefan Thomas
690672348d
NPM: Add grunt dependency. Needed for new grunt installation method.
2013-02-15 14:55:29 +01:00
Stefan Thomas
efbc62b126
Git fix: Re-add meta.js
2013-02-15 14:51:52 +01:00
JoelKatz
ba198b7806
Merge branch 'master' of github.com:jedmccaleb/NewCoin
...
Conflicts:
src/js/meta.js
2013-02-15 05:40:55 -08:00
Stefan Thomas
792fa050ef
JS: Correctly calculate affected accounts when routing account events.
2013-02-15 14:44:26 +01:00
JoelKatz
dc7f026bb2
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2013-02-15 05:39:28 -08:00