Arthur Britto
b497c96d33
Get RPC account_lines mostly working.
2012-05-30 15:52:29 -07:00
JoelKatz
ece130d375
one-liner
2012-05-30 14:26:08 -07:00
JoelKatz
adf16f2322
Bugfixes.
2012-05-30 14:23:27 -07:00
JoelKatz
47eb3d442d
Assert on a bad construction.
2012-05-30 14:23:09 -07:00
JoelKatz
8b48945a02
Update.
2012-05-30 14:18:58 -07:00
JoelKatz
05eb5fa0f1
Typo.
2012-05-30 14:18:45 -07:00
JoelKatz
dc734a7f0b
Updates to vector type
2012-05-30 14:08:59 -07:00
JoelKatz
b9a15d416d
Support zero-length addVL
2012-05-30 14:00:13 -07:00
Arthur Britto
0faa7ea071
Lots of debugging.
2012-05-30 13:35:58 -07:00
Arthur Britto
a283d9df30
Merge branch 'pay'
...
Conflicts:
src/NetworkOPs.cpp
2012-05-30 00:51:48 -07:00
Arthur Britto
68c8434a2b
Rework RPCServer to go through NetworkOPs.
2012-05-30 00:41:10 -07:00
JoelKatz
6123e3886a
Refactor LedgerConsensus code. Add new LC work.
...
Properly sequence LC states
Properly handle wobble time.
Complete LC sequence correctly and exit it.
2012-05-29 18:02:17 -07:00
JoelKatz
0c4c27880d
Adjust timings for wobble interval.
2012-05-29 18:01:43 -07:00
JoelKatz
c750c4af38
Add a function to make the "sacrificial" ledger that runs as our
...
current ledger during consensus building time. We just use it to
decide whether to process/forward transactions. We re-apply them when we
have a new last-closed ledger anyway.
2012-05-29 18:00:57 -07:00
JoelKatz
c74dad5478
Updates.
2012-05-29 12:35:23 -07:00
JoelKatz
e84c3ba714
Add some additional timing parameters.
2012-05-29 12:35:10 -07:00
JoelKatz
411f65b24b
Remove some dead messages.
2012-05-29 12:34:46 -07:00
JoelKatz
01f16914ce
Cleanups.
2012-05-28 23:49:43 -07:00
JoelKatz
06535a1a43
Updates.
2012-05-28 17:25:51 -07:00
JoelKatz
32534e8d0d
More ledger consensus work.
2012-05-28 17:25:25 -07:00
JoelKatz
62b353de27
Update.
2012-05-28 14:29:05 -07:00
JoelKatz
cd72210ad7
Comment out some checks.
2012-05-28 14:15:43 -07:00
JoelKatz
ae9db460ab
A bit of a painful PackedMessage change, but this simplifies a lot of code.
...
It's worth it to take the pain now.
2012-05-28 13:07:19 -07:00
JoelKatz
b144fa48b5
More ledger consensus work. IHAVE broadcast logic.
2012-05-28 13:06:45 -07:00
JoelKatz
b7d836a5da
Revert "More LedgerAcquire work. Broadcast IHAVEs for tx sets."
...
This reverts commit 240386931c .
Erroneous commit.
2012-05-28 13:03:21 -07:00
JoelKatz
240386931c
More LedgerAcquire work. Broadcast IHAVEs for tx sets.
2012-05-28 13:02:43 -07:00
JoelKatz
69d07f3afd
One more pass by ref.
2012-05-28 05:35:59 -07:00
JoelKatz
574f86bb4d
Small cleanups.
2012-05-28 05:05:29 -07:00
JoelKatz
e4a7c7677b
Pass by ref.
2012-05-28 04:39:52 -07:00
JoelKatz
735259b2eb
Pass by ref
2012-05-28 04:28:48 -07:00
JoelKatz
dc79749d15
Const-correct
2012-05-28 04:28:37 -07:00
JoelKatz
3047f77160
Be consistent in how we include Boost header files.
2012-05-28 04:28:22 -07:00
JoelKatz
f4d458f77d
Trap attempts to duplicate unduplicatable instances.
2012-05-28 03:40:44 -07:00
JoelKatz
e6e72a7b9a
Cleanups.
2012-05-28 03:35:52 -07:00
JoelKatz
2e4b92b680
Remove dead code.
2012-05-28 03:35:19 -07:00
JoelKatz
1ab267876b
Some additional comments.
2012-05-28 01:34:50 -07:00
JoelKatz
7e8ebcc3d9
Consensus timing and avalanche.
...
Transaction position change.
Track transaction data for all disputed transactions.
Update our set as our 'vote' changes.
2012-05-28 01:31:35 -07:00
JoelKatz
51816f1e56
Simplifications.
2012-05-27 20:09:49 -07:00
JoelKatz
02fd3e2f7a
Signed get/set functions for native currency values.
2012-05-27 18:29:55 -07:00
JoelKatz
959fa8e298
Avoid the getValue confusion. Use getNValue for native, getMantissa otherwise
2012-05-27 18:23:33 -07:00
JoelKatz
faa3e00aa8
Don't use getValue for isZero
2012-05-27 18:22:08 -07:00
JoelKatz
5bf8189aca
Use getJson instead of getValue
2012-05-27 18:20:52 -07:00
Arthur Britto
eab7a2d93a
Merge branch 'pay'
...
Conflicts:
src/NetworkOPs.cpp
2012-05-27 17:56:45 -07:00
Arthur Britto
d5e918e85b
Work toward RPC account_lines.
2012-05-27 17:44:26 -07:00
Arthur Britto
af5c25a24d
Cosmetic changes.
2012-05-27 17:43:46 -07:00
Arthur Britto
561e87c050
Use ^ for decimal in RPC syntax for XNS.
2012-05-27 17:42:10 -07:00
Arthur Britto
bca01a396f
Really fix sql for saveAcceptedLedger().
2012-05-27 17:41:11 -07:00
JoelKatz
64f903f21d
Finish the rewrite.
2012-05-27 16:40:25 -07:00
JoelKatz
d67f06d456
More work on the new amount class.
2012-05-27 16:10:08 -07:00
JoelKatz
47fefdc26c
About half of the rework to support signed floating point amounts.
2012-05-27 15:54:38 -07:00