Commit Graph

2553 Commits

Author SHA1 Message Date
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
JoelKatz
2d861a44f4 Bugfix for makeFieldAbsent. New unit test. 2012-10-04 17:02:14 -07:00
JoelKatz
ab4e44b06d Allow 'temporary' fields. 2012-10-04 17:01:57 -07:00
JoelKatz
d4ee872076 Properly construct dynamic field names 2012-10-04 17:01:42 -07:00
JoelKatz
8bddef34fc Remove old unit test. 2012-10-04 17:01:34 -07:00
JoelKatz
bf7c32daa1 The five last missing bits of the JSON input code. 2012-10-04 15:31:36 -07:00
JoelKatz
9c637aedb9 Clean up some expensive logging. 2012-10-04 12:54:20 -07:00
JoelKatz
015ba9f24d Typo. 2012-10-04 12:53:38 -07:00
Arthur Britto
424a2a424b WS: revise ledger and ledger_index to indicate current or closed ledger. 2012-10-04 12:36:56 -07:00
jed
ddd0634b87 Merge branch 'master' of github.com:jedmccaleb/NewCoin
Conflicts:
	newcoin.vcxproj.filters
2012-10-04 02:32:31 -07:00
jed
2ecba0797c windows 2012-10-04 02:31:31 -07:00
JoelKatz
414a44b6b5 Prevent a race condition that can cause us to miss an "I have a transaction
set" message if it arrives as we're in the process of generating a new
last-closed ledger.
2012-10-04 02:19:47 -07:00
JoelKatz
f0a9ee4505 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-10-03 22:24:02 -07:00
JoelKatz
39cb1899d0 A few small bugfixes and some exra logging to track down a sync bug that Jed reported. 2012-10-03 22:23:32 -07:00
Arthur Britto
437ab7b6ae Put RPC commands in a try catch. 2012-10-03 20:29:44 -07:00