Commit Graph

1044 Commits

Author SHA1 Message Date
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
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