Commit Graph

1315 Commits

Author SHA1 Message Date
Arthur Britto
4b20162e7f Work in progress on offers and ripple. 2012-07-07 14:34:42 -07:00
Arthur Britto
5cf06d45a0 Add support for configuring fee_offer. 2012-07-07 00:09:49 -07:00
Arthur Britto
272067061a Make a bunch of RPC commands not require admin. 2012-07-04 20:15:20 -07:00
Arthur Britto
145883a585 Fix RPCServer support for direct ripple sends. 2012-07-04 01:19:49 -07:00
Arthur Britto
ee9d6b27b2 TransactionEngine support for simple direct ripple sends. 2012-07-04 01:19:31 -07:00
Arthur Britto
3a4e4e5d6d Cosmetic. 2012-07-04 01:17:20 -07:00
Arthur Britto
a96bfa616e Implement direct ripple in TransactionEngine. 2012-07-02 17:05:52 -07:00
Arthur Britto
9df8d6487c Mostly cosmetic. 2012-07-02 17:05:08 -07:00
Arthur Britto
569edadeae Cosmetic. 2012-07-02 13:31:33 -07:00
Arthur Britto
c5234545dc Fix bind shared_ptr for HttpsClient. 2012-07-02 00:11:20 -07:00
Arthur Britto
f794254979 More fixes for bind and shared_ptrs. 2012-07-01 23:29:36 -07:00
JoelKatz
4c8810d5f6 Fix the bug Jed reported. This was actually in the Peer code from the start. Calling a
normal member function on a shared_from_this in a closure closes the pointer *immediately*,
not at the time the closure runs. This can crash if the object goes away while the
operation is pending.
2012-07-01 17:45:51 -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
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
51100a3b30 Keep and report some extra peer information. 2012-06-30 19:07:08 -07:00
JoelKatz
c90f834f7f Duh! This is the right fix for the bug Jed reported. 2012-06-30 18:59:38 -07:00
JoelKatz
30d76c87a3 Don't crash if we're send a malicious map node from a peer. 2012-06-30 18:53:11 -07:00
JoelKatz
ae1e2e071e Fix a crash bug Jed reported. 2012-06-30 18:52:52 -07:00
jed
8f7c984ef7 don't validate if ledger # is too low 2012-06-30 06:52:05 -07:00
jed
b1e770832a Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-06-30 05:58:59 -07:00
jed
64a869d6e8 less chatty 2012-06-30 05:58:45 -07:00
JoelKatz
c1d01348f8 Add root node in wire format. 2012-06-29 23:33:12 -07:00
JoelKatz
0627ae22da A better fix. Take the format as a parameter in addRootNode. 2012-06-29 23:32:26 -07:00
JoelKatz
ce14aa8191 Make 'addRootNode' support both prefixed and wire formats. Fix getMissingNodes to retrieve
from the node store in prefixed format.
2012-06-29 23:19:56 -07:00
JoelKatz
6a9b5ccd7d Support STN_ARF_UNKNOWN for contexts where the format of a node is not known. Format
is auto-detected.
2012-06-29 23:19:29 -07:00
JoelKatz
0b133749ae Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-06-29 22:41:35 -07:00
JoelKatz
b95dc249c0 Fix two bugs that could have been what Jed reported. 2012-06-29 22:41:14 -07:00
JoelKatz
6bbf7f58f0 Fix a small bug. Catch bad store/retrieeves sooner. 2012-06-29 22:40:48 -07:00
jed
94a9def72e tweak json returns 2012-06-29 21:36:29 -07:00
Arthur Britto
1804530577 Make WS transaction_subscribe consistent with account_transaction_subscribe. 2012-06-29 18:04:39 -07:00
Arthur Britto
dacbc58ef3 Improvements for WS account_transaction_subscribe. 2012-06-29 17:51:37 -07:00
Arthur Britto
5a6349b328 Add support for WS account_transaction_subscribe and account_transaction_unsubscribe. 2012-06-29 16:23:06 -07:00
Arthur Britto
22742314f3 Add debugging support to NewcoinAddress. 2012-06-29 16:22:30 -07:00
Arthur Britto
ddd1e721fd Comment out unused var. 2012-06-29 16:21:54 -07:00
jed
b535d361aa Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-06-29 06:08:59 -07:00
jed
91b1763a09 change return of account_tx 2012-06-29 06:08:39 -07:00
JoelKatz
2cac0cb288 Mark a FIXME. 2012-06-29 05:35:28 -07:00
jed
037a0f0d12 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-06-29 05:30:12 -07:00
jed
bc9dca6548 . 2012-06-29 05:29:59 -07:00
JoelKatz
8516f40a89 Improve comments. 2012-06-29 03:54:43 -07:00
JoelKatz
4a2871ff52 Timing routines for continuous ledger close. 2012-06-29 03:50:37 -07:00
JoelKatz
3f3ea3c594 Fix the bug Jed reported. 2012-06-29 02:07:24 -07:00
JoelKatz
fcebbef0f4 Fix incorrect transactions states after SQL retrieval 2012-06-29 02:01:24 -07:00
JoelKatz
5ed0197a42 Correctly update transactions in memory when a ledger closes. 2012-06-28 13:27:10 -07:00
JoelKatz
83dfc36892 Use safe lexical casts. (Until we put RPCServer parsing code in try/catch blocks.)
Return full transactions in doAccountTransactions.
2012-06-28 13:14:16 -07:00
JoelKatz
64f9f044c8 Remove some dead Transaction::getJson options. 2012-06-28 13:13:58 -07:00
JoelKatz
b712c192e6 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-06-28 13:13:29 -07:00
JoelKatz
d564c16268 Lexical casts that don't throw. 2012-06-28 13:12:50 -07:00
Arthur Britto
029bcfa6d9 Cosmetic, rename a few protobuf fields. 2012-06-28 01:01:44 -07:00