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
5a38fc1371
JS: Fix self and lots of other stuff for remote.js
2012-10-05 18:05:53 -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
433989a5ab
JS: better secret and seq handling.
2012-10-05 16:06:36 -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
b304d9ae43
fixed SConstruct to build on OSX
2012-10-05 12:34:14 -04:00
Andrey Fedorov
8c4ac316cc
formatting fixes in SConstruct
2012-10-05 12:32:17 -04: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
jed
4b4bc90961
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2012-10-05 04:04:22 -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
jed
b7f4da090f
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2012-10-05 03:04:30 -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
JoelKatz
de379037f8
Improve error messages. Support non-binary fields. Improve unit test.
2012-10-05 02:32:14 -07:00
JoelKatz
fb61337175
Simplifications. Concurrency fixes. Make "non binary" fields (like 'id') work.
2012-10-05 02:30:54 -07:00
JoelKatz
a18014ad16
Whitespace only.
2012-10-05 02:21:58 -07:00
JoelKatz
e8cff056fb
SField destructor. Suprpession entry for 'id'.
2012-10-05 02:21:37 -07:00
JoelKatz
6b282a0359
Bugfix: Don't access elements array out of bounds.
2012-10-05 02:21:09 -07:00
JoelKatz
94b2e30225
Temporarily disable hard fail on some checks.
2012-10-04 23:47:50 -07:00
JoelKatz
2a6ce337b2
The old signature logic won't work with the new scheme. This is simpler
...
and the way the new code is supposed to work.
2012-10-04 23:45:52 -07:00
JoelKatz
16510cd92e
Add 'sfSignature' to the list of signature fields. (Should probably be an SField flag.)
2012-10-04 23:45:27 -07:00
JoelKatz
dd4adab380
If 'TRUST_NETWORK' is defined, fault on bogus validation. Some extra debug.
2012-10-04 23:44:59 -07:00
JoelKatz
4bab95440c
Log how many peers we sent a validation to.
2012-10-04 23:44:36 -07:00
JoelKatz
232f9d0211
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2012-10-04 23:44:25 -07:00
JoelKatz
9efbd5ddd5
Cleanup.
2012-10-04 23:44:17 -07:00
MJK
964db1d1fa
Merge branch 'master' of https://github.com/jedmccaleb/NewCoin
2012-10-04 18:21:53 -07:00
MJK
50a993e921
Ripple tentatively implemented
2012-10-04 18:21:05 -07:00
Andrey Fedorov
0076130be1
a few formatting changes
2012-10-04 21:17:40 -04:00
Andrey Fedorov
0e3b4cc1a8
a few formatting changes
2012-10-04 21:04:19 -04:00
Arthur Britto
b3bc566655
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2012-10-04 17:50:51 -07:00
Arthur Britto
534b5980a1
JS: Rework remote framework.
2012-10-04 17:50:46 -07:00
Arthur Britto
ef81dd7caf
UT: retab test/config.js
2012-10-04 17:40:10 -07:00
Arthur Britto
f7562efa85
UT: Add accounts to config.
2012-10-04 17:38:58 -07:00