JoelKatz
02e1fad3c6
One more class to count.
2012-11-01 08:46:28 -07:00
Arthur Britto
249725b66b
Rename NewcoinAddress to RippleAddress.
2012-10-25 18:31:20 -07:00
JoelKatz
253e3f5243
Use the new, simpler traverse logic.
2012-10-24 15:46:19 -07:00
JoelKatz
25d888ff48
Include the transaction result in the metadata.
2012-10-16 14:36:36 -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
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
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
JoelKatz
e04b695434
Burninate "Value" in "*ValueField*" functions. It was just pointless extra typing.
...
What else would you set/get in a field, by name, other than its value?
2012-10-01 15:35:30 -07:00
JoelKatz
79c35f2689
Remove all IField/ITField functions. They are now obsolete.
...
Use the correponding STObject functions.
2012-10-01 15:21:22 -07:00
JoelKatz
2b0c95a838
Typo.
2012-09-28 19:13:34 -07:00
JoelKatz
3f0c87588e
Small changes to support new transaction serialization code.
2012-09-28 19:12:07 -07:00
JoelKatz
aa35b33b19
Must calculated metadata before applying LES>
2012-09-13 01:39:14 -07:00
JoelKatz
953f0ad63f
Don't charge for transactions twice. Have the "old" getTransaction handle metadata sanely.
...
Fix calcRawMeta to fit the new model where an LES holds a reference to its ledger
Don't put metadata in open ledger txn sets to avoid breaking the proposal mechanism.
2012-09-13 01:01:40 -07:00
Arthur Britto
cc467bf1d3
Move TransactionEngine do* to TransactionAction.cpp
2012-09-10 12:51:56 -07:00
Arthur Britto
b7f3baee15
Split up TransactionEngine, part 1.
2012-09-09 19:54:46 -07:00
Arthur Britto
4adfce51a3
Create TransactionErr.* and move dir functions to LedgerEntrySet.
2012-09-08 15:37:22 -07:00
JoelKatz
1a1952ea7b
You can now create a LedgerEntrySet without a TransactionEngine. You can
...
call all the various entry* functions on it directly. You can throw it out
when you're done. The constructor is:
LedgerEntrySet(Ledger::ref ledger)
All the normal checkpointing, caching, and swapping will work. Of course,
you cannot commit the results. The TransactionEngine::entry* functions now
just directly call the corresponding functions on the LedgerEntrySet. You
can call them in code that will only be used in the context of a
transaction.
2012-09-08 00:48:26 -07:00
JoelKatz
345d3ccb1d
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2012-09-07 15:26:14 -07:00
JoelKatz
390e628f10
Cmall cleanups and fixes.
2012-09-07 15:06:25 -07:00
Arthur Britto
a3ddb9b146
Remove unused variables.
2012-09-07 14:40:16 -07:00
Arthur Britto
e0cfa2e12d
Remove obsolete ledeger fields.
2012-09-07 14:08:25 -07:00
Arthur Britto
61cdcf2830
Merge branch 'ripple'
2012-09-06 21:34:33 -07:00
Arthur Britto
7a479d6035
Fixes for rippling through an offer.
2012-09-06 21:32:07 -07:00
jed
8e5374b338
contract stuff. Still aways a way I just wanted to get it in github.
2012-09-05 16:54:14 -07:00
jed
a61b5e98fe
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2012-09-05 15:56:29 -07:00
jed
0d40390e6b
contract
2012-09-05 15:33:48 -07:00
Arthur Britto
986fd52f19
Get indirect ripple working again.
2012-09-05 14:18:58 -07:00
Arthur Britto
1c963cc1a0
Merge branch 'master' into ripple
2012-09-04 16:16:13 -07:00
Arthur Britto
829b57173f
Restruct reverse ripple through offers.
2012-09-04 15:40:53 -07:00
Arthur Britto
9a5d23d5d4
Cosmetic.
2012-09-03 14:43:16 -07:00
Arthur Britto
dda279e5a6
Remove remaining support for redeem and issue flags.
2012-09-03 14:37:00 -07:00
Arthur Britto
74392e5929
Provide seperate ledger entry to state to ripple reverse.
2012-09-03 14:28:45 -07:00
Arthur Britto
8910a3e14b
Implement quality limit for ripple.
2012-09-03 14:15:31 -07:00
Arthur Britto
61831eaa3c
Obsolete redeem and issue flag support from ripple paths.
2012-09-03 13:57:01 -07:00
Arthur Britto
1024af54b6
Modify RPC and transactions to use quality flags for ripple.
2012-09-02 21:32:52 -07:00
Arthur Britto
9329604836
Restructure forward ripple through offers.
2012-09-01 17:24:14 -07:00
JoelKatz
9ef0a5491b
Use "Ledger::ref" instead of "const Ledger::pointer&".
2012-08-31 18:11:41 -07:00
Arthur Britto
69de9f9ce2
Progress toward ripple pre restructuring forward.
2012-08-31 14:05:37 -07:00
Arthur Britto
e8a74c7679
Work on ripple.
2012-08-30 21:15:46 -07:00
Arthur Britto
22a1cb6eed
Work towards ripple.
2012-08-30 15:19:28 -07:00
Arthur Britto
657084f5b9
Rework applyTransaction to use new TERs.
2012-08-30 13:17:38 -07:00
JoelKatz
faaedb806f
Start of the proposal defer/playback code.
...
Clean up tem codes to tap codes.
2012-08-30 11:43:20 -07:00
JoelKatz
1813e8365d
Fix crash on txn against non-existent account.
2012-08-30 08:59:25 -07:00
JoelKatz
6282ad4a88
Clean up the TransactionEngineParameter flags. Clarify the semantics for
...
soft failure. Note that the code will not yet invoke a transaction with a
retry flag, but the support is there for transcations to handle it.
2012-08-29 23:02:06 -07:00
Arthur Britto
dacc4a7286
Merge branch 'ripple'
2012-08-29 12:38:35 -07:00
Arthur Britto
7967b4ec11
Improve error handling for transaction engine path creation.
2012-08-29 12:38:24 -07:00
Arthur Britto
4ae4807c16
Merge branch 'ripple'
...
Conflicts:
src/LedgerConsensus.cpp
2012-08-29 12:00:29 -07:00
Arthur Britto
d96070f083
Rename TransactionEngineResult to TER & work on ripple.
2012-08-29 11:58:34 -07:00
JoelKatz
e4f7ffe995
Some cleanups that should make Arthur happy.
2012-08-28 16:07:44 -07:00