Commit Graph

1033 Commits

Author SHA1 Message Date
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
JoelKatz
3fcdf31096 Bugfix. 2012-05-27 15:54:06 -07:00
Arthur Britto
428f6d371f Fix saveAcceptedLedger. 2012-05-27 14:01:33 -07:00
JoelKatz
9ef47a2678 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-05-26 20:49:13 -07:00
JoelKatz
d9e5b7e109 Handle a few odd cases, including the case where a peer proposes a ledger
that is internally inconsistent.
2012-05-26 20:04:40 -07:00
Arthur Britto
94a23a011e Merge branch 'pay' 2012-05-26 17:26:23 -07:00
Arthur Britto
d54c1acdfd Fix dir index creation and make currency specification optional for credit_set. 2012-05-26 17:25:05 -07:00
JoelKatz
ef516698f2 Whitespace only. 2012-05-26 15:35:05 -07:00
JoelKatz
d442534c70 Cleanups. 2012-05-26 15:11:10 -07:00
JoelKatz
2866cec281 Finish addDisputedTransaction and peerPosition. 2012-05-26 14:21:13 -07:00
JoelKatz
5c4d3743a4 Differentiate the two beginConsensus cases. (Ledger close or network
showing consensus traffic.)
2012-05-26 14:20:46 -07:00
JoelKatz
9fb8674710 More ledger consensus work. Update votes correctly when we finish
synching a transaction set.
2012-05-26 12:11:45 -07:00
JoelKatz
f3fdd69f5a Whitespace. 2012-05-26 12:11:40 -07:00
JoelKatz
b47a7c0f52 Missing from previous commit. 2012-05-26 10:45:58 -07:00
JoelKatz
5c62f901bd Performance improvements. 2012-05-26 10:36:24 -07:00
JoelKatz
9f3356232c Not sure how this didn't get committed already. 2012-05-26 09:29:31 -07:00
Arthur Britto
cb56ad036d Implement credit_set and directory support. 2012-05-26 02:57:00 -07:00
Arthur Britto
451df81411 Add support for STVector256. 2012-05-26 02:55:36 -07:00
Arthur Britto
48d3099c00 Add ledger support for directories and ripple state. 2012-05-26 02:54:50 -07:00
Arthur Britto
e03f452a05 Add createAccountID() to NewcoinAddress. 2012-05-26 02:52:03 -07:00
Arthur Britto
0b9c762f99 Add STValue256 type. 2012-05-26 02:51:10 -07:00
JoelKatz
ac6f24c166 Use the new functions to simplify and speed up the SHAMapDiff code. 2012-05-23 19:31:58 -07:00
JoelKatz
f29a003952 Improve read-only SHAMap functions by avoiding taking shared references
to intermediary nodes.
2012-05-23 19:24:43 -07:00
JoelKatz
13a9e774c6 Rather than working around using SHAMap::hasItem so much, let's just make it efficient. 2012-05-23 19:18:59 -07:00
JoelKatz
07e353d8a2 More ledger consensus work. 2012-05-23 17:26:45 -07:00
JoelKatz
9b9177f15e Ledger consensus stuff. 2012-05-23 15:18:34 -07:00
JoelKatz
fecf3aaac9 Snapshot function. 2012-05-23 15:18:17 -07:00
JoelKatz
33e9fbda04 Missing pieces. 2012-05-23 02:16:53 -07:00
JoelKatz
902c0c3bc4 Depth-first travese in semi-random order to make sync more efficient
from multiple sources.
2012-05-23 02:16:29 -07:00
JoelKatz
f8d0269bd6 Bugfix and recvHaveTxSet code. 2012-05-22 22:07:29 -07:00
JoelKatz
f44e8f3bc5 Missing pass through function. 2012-05-22 22:07:19 -07:00
JoelKatz
14d9efd1bb Implement two pass through functions to LedgerConsensus. 2012-05-22 22:07:04 -07:00
JoelKatz
de71747bf8 Two missing connector functions. 2012-05-22 22:06:47 -07:00
JoelKatz
5a3bd08b4a Missing operation code. 2012-05-22 22:06:36 -07:00
Arthur Britto
b33c22fad8 Merge branch 'master' into pay 2012-05-22 14:36:54 -07:00
Arthur Britto
30407a3a23 Work on transit fees. 2012-05-22 12:42:13 -07:00
JoelKatz
0c821d176c Peer logic for handling requests and responses for TX set data during ledger consensus building. 2012-05-22 07:57:33 -07:00
JoelKatz
495be80504 Remove ltCLOSING, it's not needed. 2012-05-22 07:57:15 -07:00
JoelKatz
b17109ccac Cleanup. 2012-05-22 07:57:11 -07:00