JoelKatz
ba6d040266
Infrastructure for "tx" RPC command to track transactions.
2012-01-20 16:43:53 -08:00
JoelKatz
50e23112e3
Fix applying transactions with a local destination to the wallet.
2012-01-20 13:43:07 -08:00
JoelKatz
5d08754104
Spurious parse errors caused by missing 'break's.
2012-01-20 13:28:31 -08:00
JoelKatz
27e8d12fab
Sorry, wrong function.# database/shell.c
2012-01-19 19:39:58 -08:00
JoelKatz
416695f64e
Report a resolver error to the RPC caller.
2012-01-19 18:44:06 -08:00
JoelKatz
82375c30b4
We need to detach on all errors or the Peer structure will stay in memory
...
forever.
2012-01-19 18:43:51 -08:00
JoelKatz
78ad27e6aa
Be consistent in how we include boost headers.
2012-01-19 18:43:32 -08:00
JoelKatz
b93613e835
Fix crash on bad resolve. Fix peer shutdown logic. Fix peer tracking logic.
2012-01-19 18:38:31 -08:00
JoelKatz
7049d036d9
Actually, I think this code is okay.
2012-01-19 18:24:55 -08:00
JoelKatz
95a74ee904
Bugfixes.
2012-01-19 16:14:47 -08:00
JoelKatz
06d69888fd
Complete initial implementation of transaction relaying.
2012-01-19 15:56:06 -08:00
JoelKatz
0b69be862f
Slot for IPv4 port
2012-01-19 14:25:45 -08:00
JoelKatz
e39a2ddbb3
Ignore a spurious error
2012-01-19 14:25:35 -08:00
JoelKatz
10f7d3247d
Fill in some fields in the Hello packet, and report them on reception.
2012-01-19 14:25:20 -08:00
JoelKatz
1c01d7dc8d
Let's not use message type 0
2012-01-19 14:16:09 -08:00
JoelKatz
5f394e9bb7
Whitespace.
2012-01-19 14:11:26 -08:00
JoelKatz
b9326d2454
Cleanups, add debug.
2012-01-19 14:11:15 -08:00
JoelKatz
7d26c47035
Fire up the I/O engine on an outbound connection.
2012-01-19 14:10:39 -08:00
JoelKatz
cabbfffbdf
Remove debug we don't need.
2012-01-19 14:10:14 -08:00
jed
92f6ad6d37
getting connections working
2012-01-19 12:32:41 -08:00
JoelKatz
239e26a56e
Update with current RPC commands. Fix help logic.
2012-01-19 10:26:21 -08:00
JoelKatz
4ec389f0e6
Remove test.cpp, switch Makefile to use main.cpp
2012-01-19 10:26:01 -08:00
JoelKatz
d31a85fe3a
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2012-01-19 10:14:20 -08:00
JoelKatz
61f72e2141
Remove old code.
2012-01-19 10:04:48 -08:00
JoelKatz
ef24377d08
'connect' RPC command
2012-01-19 10:03:57 -08:00
JoelKatz
969ef6540e
Implement 'connectTo'.
2012-01-19 10:03:04 -08:00
JoelKatz
805990618e
Remove some functionality that belongs in ConnectionPool
2012-01-19 10:02:34 -08:00
jed
315db73ddd
build on windows
2012-01-19 09:51:01 -08:00
JoelKatz
94e4e1d04b
Handle all the weird edge cases, such as:
...
A remote transaction is received *from* a local account. We neeed
to update our balance and sequence tracking.
A local transaction loses to a conflict.
2012-01-18 15:33:58 -08:00
JoelKatz
60dcb8ac35
Trivial changes.
2012-01-18 14:19:04 -08:00
JoelKatz
e9928ecc20
Change name of mAccountSeq to make it clear that it's the family
...
sequence not the transaction sequence
2012-01-18 14:17:28 -08:00
JoelKatz
0df4957b28
Cleanups and two small bugfixes. (Wrong SQL, wrong sequence in signature)
2012-01-18 14:16:44 -08:00
JoelKatz
7a84e5e54f
Cleanup
2012-01-18 14:15:22 -08:00
JoelKatz
702a592b9c
Process local Txns.
2012-01-18 14:15:00 -08:00
JoelKatz
efb9fd7e1f
Extra debug
2012-01-18 14:14:46 -08:00
JoelKatz
1277ffd91c
Apply local Txns.
2012-01-18 14:14:34 -08:00
JoelKatz
a5da80d36d
Fix issues in applying local transactions.
2012-01-18 14:14:23 -08:00
JoelKatz
ff2cc0aee4
Create more funds in initial ledger.
2012-01-18 14:13:48 -08:00
JoelKatz
88ff8767bb
Some extra debug help.
2012-01-18 11:44:47 -08:00
JoelKatz
b2b8caf6b9
Fix the account state bug. Rewrite the relationship between families and
...
accounts. Remove the LocalAccountEntry class and make some huge
simplifications.
Ledger.cpp | 14 +++++--
LocalAccount.h | 80 +++++++++++++++------------------------------
Wallet.cpp | 101 +++++++++++++++++++--------------------------------------
2012-01-18 11:43:25 -08:00
JoelKatz
2e0d47f782
Work to fix the transaction source sequence buglet.
2012-01-18 09:57:48 -08:00
JoelKatz
7fa8f43c59
Bugfix in 'unlock'.
2012-01-18 09:40:38 -08:00
JoelKatz
f1052e0706
Cleanup, debug, extra JSON info.
2012-01-17 20:39:41 -08:00
JoelKatz
93c7333c58
Cleanup/debug.
2012-01-17 20:39:16 -08:00
JoelKatz
5ba945b8e3
New version of the code to generate the initial ledger.
...
This version puts all the money in ["This is my payphrase."]
2012-01-17 20:38:32 -08:00
JoelKatz
deb0dc6d65
Cleanup format. Fix bug where account erroneously had a 0 sequence.
2012-01-17 20:38:16 -08:00
JoelKatz
66f8741398
Cleanup.
2012-01-17 19:20:06 -08:00
JoelKatz
55d0704438
Structures needed for network broadcasts.
2012-01-17 19:19:52 -08:00
JoelKatz
0272730476
Tiny cleanup.
2012-01-17 19:19:41 -08:00
JoelKatz
b62139cdcc
Sync ledger with wallet.
2012-01-17 19:19:00 -08:00