Commit Graph

73 Commits

Author SHA1 Message Date
JoelKatz
366aad13e7 Remove Ledger::bumpSeq 2012-10-09 12:06:13 -07:00
JoelKatz
7fba10da4e Create a new open ledger based on the last closed ledger from the DB.
Ledgers loaded from DB are always immutable.
2012-10-09 11:09:02 -07:00
jed
8b5114a23e Merge branch 'master' of github.com:jedmccaleb/NewCoin
Conflicts:
	src/Application.cpp
2012-10-09 03:05:21 -07:00
jed
573865cb23 allow you to load old ledger 2012-10-09 03:01:32 -07:00
JoelKatz
2d431cefd1 Cleanups. Remove extraneous reference count manipulations. 2012-10-08 00:01:23 -07:00
JoelKatz
d2336e3eea Ledger functions to handle transaction metadata. 2012-09-12 18:40:16 -07:00
JoelKatz
30cd0e197d Remove dead code that's in my way. 2012-09-12 09:18:03 -07:00
JoelKatz
02bd898e51 Some const-correctness.
const SLE::pointer & -> SLE::ref
2012-08-31 18:26:45 -07:00
JoelKatz
9ef0a5491b Use "Ledger::ref" instead of "const Ledger::pointer&". 2012-08-31 18:11:41 -07:00
jed
336a1c27fc Merge branch 'master' of github.com:jedmccaleb/NewCoin
Conflicts:
	src/LedgerNode.cpp
2012-08-20 09:42:15 -07:00
jed
5484205b26 Merge branch 'master' of github.com:jedmccaleb/NewCoin
Conflicts:
	src/RippleLines.cpp
2012-08-20 09:40:40 -07:00
JoelKatz
c036188c3c Some more cleanups. 2012-08-19 21:01:36 -07:00
JoelKatz
84ee39b147 Fix a few more cases where we create a new shared pointer just to
immediately throw it away, resulting in a wasted
allocate/increment/decrement/free.
2012-08-19 19:04:18 -07:00
Arthur Britto
d5734cd6ce Merge ripple dirs with owner dirs and RPC fixes for setting quality. 2012-08-18 12:41:58 -07:00
jed
ffbd719508 . 2012-08-17 21:35:56 -07:00
jed
4f285dc603 add RippleLines 2012-08-15 10:35:12 -07:00
Arthur Britto
f8882b32bf Rename ledger index functions. 2012-07-18 14:48:05 -07:00
JoelKatz
718d1ffa48 Change first/last/next/prev SLE functions to just return uint256's. 2012-07-17 22:14:08 -07:00
JoelKatz
6b079cb951 Cleanup. 2012-07-17 15:55:27 -07:00
Arthur Britto
aa1f2d3c6a Merge branch 'ripple'
Conflicts:
	src/TransactionEngine.cpp
2012-07-17 13:32:29 -07:00
Arthur Britto
fcd13d0208 Work on offers. 2012-07-16 18:54:31 -07:00
JoelKatz
e89af2f784 Merge branch 'continuousClose'
Conflicts:
	src/LedgerAcquire.cpp
	src/NetworkOPs.h

Merge continuous ledger close into main branch. YAY!
2012-07-16 14:48:21 -07:00
JoelKatz
8bcb9c0041 Add get first/last/next SLE functions. 2012-07-14 19:16:58 -07:00
JoelKatz
7ce766dd4f Merge branch 'master' of github.com:jedmccaleb/NewCoin into continuousClose 2012-07-13 23:55:27 -07:00
Arthur Britto
a3fb732e24 Rework offer amount calculation. 2012-07-13 15:28:58 -07:00
JoelKatz
036d8f8d6d Functions to retrieve close time information from the ledger. 2012-07-12 21:45:09 -07:00
JoelKatz
513d248c93 Change ledger and db structures to use new ledger close timing logic. 2012-07-11 18:18:28 -07:00
JoelKatz
c82bd2805b Merge branch 'master' of github.com:jedmccaleb/NewCoin into continuousClose
Conflicts:
	src/Ledger.h
	src/LedgerNode.cpp
	src/Version.h
2012-07-10 10:31:13 -07:00
Arthur Britto
96b314c78c Add getQualityNext. 2012-07-09 18:01:52 -07:00
Arthur Britto
86e5c77b8b Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-07-09 17:39:12 -07:00
Arthur Britto
3462ab0f07 Work towards ripple and offers. 2012-07-09 17:38:03 -07:00
JoelKatz
6be83c09db Add SLE next/prev functions. 2012-07-09 17:12:20 -07:00
JoelKatz
50fe4b6320 Functions that return an SLE::pointer that find the next/prev nodes in the state tree. 2012-07-09 16:06:15 -07:00
Arthur Britto
e5ad771708 Move to new directory format. 2012-07-07 17:46:47 -07:00
Arthur Britto
4b20162e7f Work in progress on offers and ripple. 2012-07-07 14:34:42 -07:00
JoelKatz
09a7eb094b CC work. 2012-07-06 01:17:55 -07:00
JoelKatz
182228b6f9 Infrastructure for continuous ledger close. 2012-06-30 16:58:05 -07:00
JoelKatz
6182c4bb51 Make the dirty node save logic work during consensus ledger close. 2012-06-22 00:42:03 -07:00
JoelKatz
94bc059f87 Fix some mishandling of genesis block close timing. 2012-06-20 13:40:10 -07:00
JoelKatz
718d078d48 Fix the timing of adding accepted ledgers. 2012-06-18 22:55:07 -07:00
JoelKatz
a3daa061d3 Make sure the ledger hash is up to date when we set the immutable flag. 2012-06-18 19:56:34 -07:00
JoelKatz
5dcc7908dd ledger [id|current|lastclosed] [full]
Implementation is not 100% complete yet.
2012-06-09 01:49:18 -07:00
Arthur Britto
0b02b20003 Add support for a signature when creating NicknameSet transactions. 2012-06-05 14:50:42 -07:00
Arthur Britto
480482d618 Merge branch 'master' into misc
Conflicts:
	src/TransactionEngine.cpp
2012-06-05 13:08:36 -07:00
Arthur Britto
26d7f0e1a4 Add ledger fuctionality for NicknameState. 2012-06-05 13:05:42 -07:00
JoelKatz
e84c7924a4 Extra debug 2012-06-04 21:37:04 -07:00
JoelKatz
3826094819 New wobble handling. 2012-06-03 19:43:28 -07:00
JoelKatz
766e03bc62 Fee charge fixes. 2012-06-01 20:34:25 -07:00
Arthur Britto
a0009f7c6f Rework Ledger index calculation. 2012-05-31 20:26:14 -07:00
Arthur Britto
a283d9df30 Merge branch 'pay'
Conflicts:
	src/NetworkOPs.cpp
2012-05-30 00:51:48 -07:00