Arthur Britto
3d97ccc34f
RPC add inLedger to account_tx.
2012-10-15 14:22:55 -07:00
Arthur Britto
42d7813046
Put json time as unix time.
2012-10-15 14:22:07 -07:00
Arthur Britto
d98e415107
JS: Fix offer_create.
2012-10-14 02:50:34 -07:00
Arthur Britto
d5c9cc78c7
JS: Fix transaction creation.
2012-10-14 02:23:52 -07:00
Arthur Britto
5fc3d98ef5
UT: Clean up and faster tearDown.
2012-10-14 01:33:00 -07:00
Arthur Britto
085ff2af22
UT: Split up tests.
2012-10-13 19:42:28 -07:00
Arthur Britto
1c2d16f1ad
Rework remote.js to be event oriented.
2012-10-13 19:38:19 -07:00
JoelKatz
fbd8f9deb7
Change "id" to "hash",
2012-10-12 21:59:17 -07:00
Arthur Britto
1030d80e1f
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2012-10-12 21:15:01 -07:00
Arthur Britto
41cbcda510
JS: Better flag handling for send.
2012-10-12 21:14:32 -07:00
Arthur Britto
7495fe70cc
WS: Clean up json responses and report engine submission results.
2012-10-12 21:14:04 -07:00
Arthur Britto
cc4bda6bf6
Cosmetic.
2012-10-12 21:12:05 -07:00
JoelKatz
9b2db30226
Cosmetic changes newcoin->ripple.
2012-10-12 20:32:19 -07:00
JoelKatz
730c6f3a52
Bugfix in STAmount::compare
2012-10-12 20:19:36 -07:00
JoelKatz
6fc5dc1189
Spelling error.
2012-10-12 20:19:28 -07:00
JoelKatz
08acbcd839
Fix the sense.
2012-10-12 19:58:41 -07:00
JoelKatz
bfee7a3082
I apologize for the disaster that was toUInt64. It has been nuked from orbit.
2012-10-12 18:24:32 -07:00
JoelKatz
19b518a0af
Quick fix for the bug that was causing ledgers to diverge.
...
LES used an unordered map, causing the traverse of modified ledger nodes to
be in random order. This meant different nodes would thread transactions
differently, causing ledger divergence. This change switches the LES code to
use a standard map. This adds more overhead to LES search functions (because
ordered map operations like search and insert are more expensive than
unordered map opreations, so it may be worth a separate ordering step just
for calcRawMeta instead.
2012-10-12 17:01:37 -07:00
Arthur Britto
b2481f3c49
Rename the protocol from newcoin to ripple.
2012-10-12 15:53:59 -07:00
Arthur Britto
2af15db40a
Rename everything from newcoin to ripple except the protocol buffers.
2012-10-12 15:48:33 -07:00
Arthur Britto
237ff73916
Bump protocol version.
2012-10-12 15:12:56 -07:00
Arthur Britto
fcd88f12fc
UT: Adjust to new address encoding.
2012-10-12 15:10:39 -07:00
Arthur Britto
90543550d2
JS: Adjust to new address encoding.
2012-10-12 15:10:09 -07:00
Arthur Britto
59ccfb315d
Change leading character for addresses from "i" to "r".
2012-10-12 15:09:22 -07:00
Arthur Britto
edabc770aa
Cosmetic.
2012-10-12 15:08:56 -07:00
Arthur Britto
d7cd404c12
JS: rename BigInteger consts to start bi_.
2012-10-12 14:24:22 -07:00
Arthur Britto
31b1aab851
UT: enable ledger_closed test.
2012-10-12 14:23:42 -07:00
Arthur Britto
c4eaeb6340
JS: Add clone() and copyTo() to Amount and friends.
2012-10-12 12:56:51 -07:00
JoelKatz
efbc4b3cbd
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2012-10-12 09:22:41 -07:00
JoelKatz
ab01c7c4a7
I believe our comparisons were broken for STAmount, for example, 0 XNS would
...
compare greater than 1 XNS! For non-native currencies, -2 would be greater
than -1, which is wrong. This should fix it. We definitely need to make some
test cases. Arthur, please look over this code and make sure I didn't miss
something.
2012-10-12 09:21:29 -07:00
jed
8a22f5a8e8
Merge branch 'master' of github.com:jedmccaleb/NewCoin
...
Conflicts:
src/SHAMapNodes.cpp
2012-10-12 09:00:50 -07:00
jed
391ef2fb1f
.
2012-10-12 08:59:51 -07:00
JoelKatz
92f004c47f
A minimal, but serviceable, implemention of replying to TMGetObjectByHash queries.
2012-10-12 06:35:16 -07:00
JoelKatz
6ab6be13d7
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2012-10-12 03:59:38 -07:00
JoelKatz
51c5de61d9
TMGetObjectByHash design changes.
2012-10-12 03:59:25 -07:00
Arthur Britto
bb83bcf0d1
Revise remote.js and unit tests to use new amount.js.
2012-10-11 21:41:07 -07:00
Arthur Britto
f419dcc77b
JS: fixes and tests from amounts.
2012-10-11 20:08:08 -07:00
Arthur Britto
7fc13e3528
Clean up getJson() for STAmount.
2012-10-11 20:07:41 -07:00
Arthur Britto
6cffcf0533
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2012-10-11 16:26:06 -07:00
Arthur Britto
8ebceaa53e
UT: Initial check in unit tests for amount.js.
2012-10-11 16:25:01 -07:00
JoelKatz
1a5de6bd3d
operator<< must return a value
2012-10-11 16:22:29 -07:00
Arthur Britto
773f9263dc
JS: Add BigInteger support to Amount.
2012-10-11 16:22:07 -07:00
Arthur Britto
37da7aa8bc
Make jsbn a single node style file.
2012-10-11 16:21:09 -07:00
Arthur Britto
0509d5af37
JS: Split node utils into their own file.
2012-10-11 16:19:24 -07:00
jed
67415e0543
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2012-10-11 12:54:12 -07:00
Arthur Britto
624fe1295f
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2012-10-11 12:14:20 -07:00
Arthur Britto
d270b6b074
Fix ripple calc looping on errors.
2012-10-11 12:14:14 -07:00
jed
24d6891cc6
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2012-10-11 09:19:19 -07:00
jed
04f244ce9d
change profile
2012-10-11 09:19:05 -07:00
JoelKatz
2a13b9b7db
Fix the '--load' logic.
2012-10-11 07:03:21 -07:00