Commit Graph

1235 Commits

Author SHA1 Message Date
JoelKatz
4e7d1cb390 Add an STAmount::operator bool() const 2012-06-04 19:10:30 -07:00
Arthur Britto
b186b45c76 Merge branch 'misc' 2012-06-04 13:08:59 -07:00
Arthur Britto
1ec51b6735 Clean up balance checking. 2012-06-04 13:08:39 -07:00
Arthur Britto
8767111293 Fix doPasswordFund and fix/clean up mLedger clearing. 2012-06-04 13:07:55 -07:00
Arthur Britto
18da3ac8d1 Merge branch 'misc' 2012-06-04 12:20:09 -07:00
Arthur Britto
7e19a2f616 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-06-04 12:20:00 -07:00
Arthur Britto
a2e28ff819 Adjust RPC commands to be aware of current and closed ledgers. 2012-06-04 12:19:45 -07:00
JoelKatz
dcf185057a Whitespace. 2012-06-04 07:28:16 -07:00
JoelKatz
0648779ccb Pass node IDs to the sync filter. 2012-06-04 07:23:56 -07:00
JoelKatz
0e7307200e First set of efficiency improvements. 2012-06-04 07:18:57 -07:00
JoelKatz
27241a9a5c Application-level tagged cache. 2012-06-04 07:17:54 -07:00
JoelKatz
ba163bc89f Logging modernization. 2012-06-04 07:17:41 -07:00
JoelKatz
bef64eaad5 Nicer nonce/hash code. 2012-06-04 06:14:23 -07:00
JoelKatz
7dcb10b178 Make an option whether fat node gets should include leaves.
This will save bandwidth and improve performance in ledger consensus.
(Well, it will once the rest of the code is tied in.)
2012-06-04 06:01:33 -07:00
JoelKatz
2206ff3be6 Get rid of hash_SMN and instead extend boost::hash.
This makes the TaggedCache code cleaner.
2012-06-04 06:01:11 -07:00
JoelKatz
98190a4284 Add an assert 2012-06-04 06:00:27 -07:00
Arthur Britto
19bbe53eaa Merge branch 'misc'
Conflicts:
	src/TransactionEngine.cpp
2012-06-04 01:25:48 -07:00
Arthur Britto
220418f5e8 Work on RPC password_fund and password_set. 2012-06-04 01:22:32 -07:00
Arthur Britto
249733eaec Work on applying PasswordSet. 2012-06-04 01:21:41 -07:00
Arthur Britto
129631e16f Fix PasswordSet transaction creation. 2012-06-04 01:21:00 -07:00
Arthur Britto
c4b5438a4a Fix STAccount::setValueH160. 2012-06-04 01:20:21 -07:00
Arthur Britto
bc0ed87bb3 Add helper createHumanAccountID() to NewcoinAddress. 2012-06-04 01:19:57 -07:00
JoelKatz
46f2248ce8 Small fixes. 2012-06-04 00:07:57 -07:00
Arthur Britto
0eb56c3c59 Whitespace changes. 2012-06-04 00:07:18 -07:00
Arthur Britto
b17d8fb4cc Add RPC commands password_fund and password_set. 2012-06-03 19:46:29 -07:00
Arthur Britto
d1d4c4eefa Add PasswordFund and PasswordSet transaction constructors. 2012-06-03 19:46:08 -07:00
Arthur Britto
cfadde4a7e Add PasswordFund and PasswordSet to transaction engine. 2012-06-03 19:45:36 -07:00
Arthur Britto
c1adbaf631 Define transaction formats for PasswordFund and PasswordSet. 2012-06-03 19:44:29 -07:00
JoelKatz
b3f91fc7b2 Prototype fix. 2012-06-03 19:43:46 -07:00
JoelKatz
49a239b67c Speed up ledger timing. 2012-06-03 19:43:35 -07:00
JoelKatz
3826094819 New wobble handling. 2012-06-03 19:43:28 -07:00
Arthur Britto
aec977ced2 Add config ACCOUNT_PROBE_MAX. 2012-06-03 19:43:21 -07:00
JoelKatz
49235f96d8 Use new ledger code. 2012-06-03 19:42:58 -07:00
Arthur Britto
07658219de Add dummy function fallthru(). 2012-06-03 19:42:53 -07:00
JoelKatz
c386253be6 New ledger constructors and ledger snapshot code.
Remove dead code.
2012-06-03 19:42:38 -07:00
JoelKatz
31e70c0cd2 Use new Ledger constructors. 2012-06-03 19:42:30 -07:00
JoelKatz
833f402064 Use new ledger constructors. Go back to tracking if we don't have the LCL. 2012-06-03 19:42:13 -07:00
JoelKatz
e16d9e48f7 Whitespace. 2012-06-03 15:30:59 -07:00
JoelKatz
75ad545916 Finish the wobble rework. 2012-06-03 15:30:39 -07:00
JoelKatz
1011079aa7 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-06-03 12:24:42 -07:00
JoelKatz
d35bb54c06 Structures to correctly handle both pre and post close wobble. 2012-06-03 12:24:10 -07:00
Arthur Britto
96face502c Add unit tests for STAmount::setValue. 2012-06-03 01:54:51 -07:00
Arthur Britto
97fe2568e5 Improve starting currency comments. 2012-06-02 17:12:57 -07:00
JoelKatz
56d883571a Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-06-02 16:19:51 -07:00
JoelKatz
8701337af7 Work on the wobble logic. 2012-06-02 16:19:37 -07:00
Arthur Britto
d7095eef21 Merge branch 'pay' 2012-06-02 16:15:01 -07:00
Arthur Britto
78614a2450 Get RPC command account_message_set working. 2012-06-02 16:13:53 -07:00
Arthur Britto
e645ac7350 Add static helpers to NewcoinAddress. 2012-06-02 16:13:13 -07:00
JoelKatz
866ead228b Rule out the SHAMap snapShot code as the cause of the duplicate Txn bug.
Add unit test for the SHAMap snapShot code.
Add some extra asserts for attempts to modify immutable maps.
2012-06-02 15:34:49 -07:00
Arthur Britto
a8e65ce045 Add RPC command account_wallet_set. 2012-06-02 14:56:13 -07:00