Commit Graph

38 Commits

Author SHA1 Message Date
JoelKatz
4930ebb945 Simplify the way we handle validations. Include a signing time instead of a
closing time. Keep only the validation with the most recent signing time.
Sign using network time. This eliminates the ValidationPair nightmare and
makes the logic must easier to understand, increasing confidence that it
does what it's supposed to do.
2012-09-03 20:13:57 -07:00
JoelKatz
d83d8080fd Efficiently save validations. 2012-07-17 03:10:05 -07:00
JoelKatz
513d248c93 Change ledger and db structures to use new ledger close timing logic. 2012-07-11 18:18:28 -07:00
Arthur Britto
0bcbb5bd75 Move RPC data_* commands data to db/rpc.db. 2012-06-26 03:39:15 -07:00
JoelKatz
cc6052d294 Give Arthur a way to get all the accounts changed by a ledger. 2012-06-25 23:16:20 -07:00
Arthur Britto
58b6ca5cc0 Merge branch 'master' of github.com:jedmccaleb/NewCoin
Conflicts:
	src/Peer.cpp
2012-06-20 13:41:14 -07:00
Arthur Britto
411d056377 Add a default score to PeerIps. 2012-06-20 13:38:10 -07:00
JoelKatz
f17f4dc305 Halve no-DB startup time. 2012-06-20 02:54:19 -07:00
JoelKatz
8277854a15 Fix SQL error. 2012-06-18 10:37:05 -07:00
Arthur Britto
e54c5603f6 Add Score for SeedNodes table. 2012-06-15 20:12:39 -07:00
jed
f1277325ff fix for unl_add 2012-06-13 10:50:02 -07:00
jed
e6464e2832 more work on your peer list 2012-06-13 09:57:08 -07:00
JoelKatz
d4d3300eca Typo 2012-06-11 01:05:34 -07:00
JoelKatz
2d49cacd29 Move all SQL operations on ledger close into the ledger code so we can
accept ledgers without having to participate in the consensus process. We'll
need this when we implement "catch up".

Move AcctTx into the same connection as Txn so they can be part of a single
transaction.

Dispatch ledger accept synchronization functions into a detached thread so it
doesn't stall our I/O engine.
2012-06-09 22:01:31 -07:00
JoelKatz
197a19b996 Beginning transaction persistance. 2012-06-09 19:12:06 -07:00
JoelKatz
c1c64fe1c7 Fix. 2012-06-09 18:30:01 -07:00
JoelKatz
d888cc2da8 Bugfixes. 2012-06-09 18:28:34 -07:00
JoelKatz
ea5ae2a113 Structures for tracking transactions by which accounts they affect. 2012-06-08 18:13:13 -07:00
Arthur Britto
04b9581652 Add RPC commands data_delete, data_fetch, and data_store. 2012-06-07 12:37:58 -07:00
Arthur Britto
e204a7dc3d Add const restrictions. 2012-06-06 01:25:00 -07:00
Arthur Britto
b06a785402 Remove LocalAcctFamilies and LocalAccount tables from DBInit.cpp 2012-05-17 20:30:33 -07:00
Arthur Britto
43ac5f8023 Implement basic low water connection policy. 2012-05-01 00:36:42 -07:00
Arthur Britto
0ab34eee3d Merge branch 'bootstrap' 2012-04-30 13:26:28 -07:00
Arthur Britto
71b5e97ad5 Change SQL tables to suppot scaning. 2012-04-30 13:21:57 -07:00
JoelKatz
5284107cdb Change ledger logic to hold total coins in existence, not fees. 2012-04-30 11:31:10 -07:00
Arthur Britto
024f14efa4 Store DHParams in sqlite. 2012-04-29 16:48:51 -07:00
Arthur Britto
5f31b13e8d Fix SQL for tracking Misc information. 2012-04-24 16:33:18 -07:00
Arthur Britto
99d61cc8e6 Store and score IPs. 2012-04-18 17:24:05 -07:00
Arthur Britto
8fabf505fc Require TrustedNodes to have a score. 2012-04-17 19:42:14 -07:00
Arthur Britto
34e5b77223 Bug fixes and add scoring framing work. 2012-04-14 19:13:43 -07:00
Arthur Britto
85b5922603 Work toward automated UNL maintenance. 2012-04-13 20:47:34 -07:00
Arthur Britto
af800ffe14 Replace the use of hanko with public keys. 2012-04-05 16:42:21 -07:00
JoelKatz
8ef67e3c3a New-style transaction cut over. 2012-03-28 15:09:29 -07:00
Arthur Britto
69d492f4e5 Fix wallet table creation. 2012-03-21 14:36:46 -07:00
Arthur Britto
d0eb4567ba NewcoinAddress fixes and work towards unls. 2012-03-20 15:20:39 -07:00
Arthur Britto
b4751f9a3a Minor clean up for human formats and DB. 2012-03-19 12:11:56 -07:00
Arthur Britto
73ff9b95ad Rework addresses. 2012-03-17 20:19:09 -07:00
Arthur Britto
c513e45754 Move sources to src and build objs in obj. 2012-03-06 22:43:06 -08:00