Arthur Britto
32251f3c3c
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2012-10-09 12:25:57 -07:00
Arthur Britto
4c61648a7b
WS: Add ledger_accept commnd.
2012-10-09 12:25:51 -07:00
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
daedc85cdd
.
2012-10-09 05:01:03 -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
6f2e4b8172
Add RPC "accept_ledger" function which processes all pending transactions (in standalone mode only)
...
and closes the ledger, opening a new one. The sequence number of the new open ledger is returned.
2012-10-08 20:02:52 -07:00
JoelKatz
108d69d29b
Remove dead fields.
2012-10-08 18:16:48 -07:00
JoelKatz
0d7710dbe0
Document the log levels. We need to move things from INFO to DEBUG.
2012-10-08 15:55:47 -07:00
JoelKatz
31a6177da0
More logging improvements.
2012-10-08 07:14:36 -07:00
JoelKatz
0355439406
More log updates.
2012-10-08 07:07:46 -07:00
JoelKatz
91e7fc11ad
Some comments.
2012-10-08 00:56:52 -07:00
JoelKatz
df94c192ce
Log partition support.
2012-10-08 00:55:55 -07:00
JoelKatz
6bde384e06
Log partition support.
2012-10-08 00:52:00 -07:00
JoelKatz
470e2c5747
Fixups.
2012-10-08 00:49:55 -07:00
JoelKatz
12c6a37cac
More log partition support.
2012-10-08 00:48:04 -07:00
JoelKatz
09fb035acc
Macro to supply an extra logging condition.
2012-10-08 00:47:44 -07:00
JoelKatz
6a229d918c
Start using log partitions.
2012-10-08 00:39:31 -07:00
JoelKatz
d07a4b49cb
Initial support for log partition.
2012-10-08 00:39:08 -07:00
JoelKatz
dae5973939
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2012-10-08 00:01:41 -07:00
JoelKatz
2d431cefd1
Cleanups. Remove extraneous reference count manipulations.
2012-10-08 00:01:23 -07:00
Arthur Britto
27798c369d
WS: Add submit command. Rough.
2012-10-07 00:18:13 -07:00
JoelKatz
34a3124c11
Allow fields to be freely created for objects that aren't required to conform to a template.
2012-10-06 18:34:27 -07:00
JoelKatz
16fbd7a862
Remove the automatic convert to serialized transasction
2012-10-06 17:32:24 -07:00
JoelKatz
972a504b97
Log which required field is missing.
2012-10-06 17:05:28 -07:00
JoelKatz
20a50f0f90
Return a SerializedTransaction if the original json was a transaction.
2012-10-06 14:31:52 -07:00
JoelKatz
0037a94a04
Add "index" as a discardable / non-binary field
2012-10-06 14:31:23 -07:00
JoelKatz
a2c526a913
Construct SerializedTransaction from STObject
2012-10-06 14:30:56 -07:00
JoelKatz
53f97a45ce
Return names from STUInt16::getJson for transaction and ledger entry types.
2012-10-06 14:14:30 -07:00
Arthur Britto
95d1127dad
Parse UINT64 as hex.
2012-10-05 18:25:33 -07:00
Arthur Britto
b1e147200c
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2012-10-05 18:06:00 -07:00
Arthur Britto
0a6cec34c5
Fix getJson for STUInt8, 16, 32, 64.
2012-10-05 18:02:22 -07:00
Arthur Britto
2ae5a92fa1
Cosmetic.
2012-10-05 18:01:39 -07:00
JoelKatz
64168b6934
A better fix to the creation of dynamic fields.
2012-10-05 16:14:30 -07:00
Arthur Britto
2e0ecaa683
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2012-10-05 14:59:59 -07:00
Arthur Britto
3225dfd228
Fix assert testing against additional ripple sends.
2012-10-05 14:59:49 -07:00
JoelKatz
3f323588c3
Remove redundant lock.
2012-10-05 13:07:41 -07:00
JoelKatz
830971b606
Merge branch 'master' of github.com:jedmccaleb/NewCoin
...
Conflicts:
src/FieldNames.cpp
This is guaranteed safe. Shortly, I'll change it to call a constructor
that doesn't acquire the mutex.
2012-10-05 13:07:09 -07:00
JoelKatz
a9c1b51e82
Temporary fix for the deadlock.
2012-10-05 13:05:10 -07:00
Andrey Fedorov
047548b30b
fix for building on OSX
...
Copied from this fink package:
http://mirror.lug.udel.edu/pub/fink/finkinfo/10.7/stable/main/finkinfo/d
evel/endian-dev.info
2012-10-05 11:31:45 -04:00
jed
720178cc0d
.
2012-10-05 07:24:46 -07:00
jed
75bf320476
fix deadlock
2012-10-05 07:23:10 -07:00
jed
70b01af8bf
build on mac
2012-10-05 04:13:18 -07:00
JoelKatz
0630a4b7f4
We have to track the high node ID of trusted validators as a tie-breaker.
...
1) Change return from getCurrentValidations
2) Log tiebreaker logic to aid debugging
3) Change checkLastClosedLedger to use the new tie-breaker logic
4) Log when we refuse to switch to our own previous ledger
5) Track node ID in the serialized validation object
6) Simplify getCurrentValidations ledger suppression logic
2012-10-05 03:46:24 -07:00
JoelKatz
e17720717a
Placeholder until this unit test is complete.
2012-10-05 02:48:09 -07:00
JoelKatz
af5175eeee
Fix a JSON buglet.
2012-10-05 02:44:24 -07:00
JoelKatz
ffd1f03fe2
Missed one.
2012-10-05 02:36:04 -07:00
JoelKatz
f180c7eb96
Remove log entry that's not needed
2012-10-05 02:35:37 -07:00
JoelKatz
40547c1ecc
Unit test.
2012-10-05 02:32:48 -07:00