Commit Graph

5727 Commits

Author SHA1 Message Date
Jae Kwon af3b31db24 Check StorageRoot for Zero before state.Load(). 2015-03-21 13:18:57 -07:00
Jae Kwon ab8ad30648 Set Pubkey on vm.Account. 2015-03-21 13:16:58 -07:00
Jae Kwon a040e6bc27 Merge pull request #34 from tendermint/tx_return
rpc: return tx hash, creates contract, contract addr in broadcast (requi...
2015-03-21 09:14:00 -07:00
Jae Kwon 33fd74eeff Merge pull request #33 from tendermint/close_db
db: add Close() to db interface. closes #31
2015-03-21 09:10:01 -07:00
Ethan Buchman f93bb35c02 rpc: return tx hash, creates contract, contract addr in broadcast (required some helper functions). Closes #30 2015-03-21 02:45:07 -07:00
Ethan Buchman 94c200711b db: add Close() to db interface. closes #31 2015-03-21 01:47:23 -07:00
Ethan Buchman bf87ec1070 vm: check errors early to avoid infinite loop 2015-03-21 01:44:47 -07:00
Ethan Buchman e56db7f615 state: fix debug logs 2015-03-21 01:44:24 -07:00
Ethan Buchman 6cd46b726d state: ExecTx bug fixes for create contract 2015-03-21 00:34:11 -07:00
ebuchman c594c6ef7c Merge pull request #32 from tendermint/public_funcs
some public convenience functions, extra debug errors on ExecTx
2015-03-21 00:13:14 -07:00
Ethan Buchman deff645dba some public convenience functions, extra debug errors on ExecTx 2015-03-21 00:11:01 -07:00
Jae Kwon 55d8e29e32 Fixed issues from review with Ethan 2015-03-20 21:15:46 -07:00
Jae Kwon 5dcbb272be formatting... 2015-03-20 20:08:16 -07:00
Jae Kwon b7553e2bfe Address is generated with VMAppState, and it increments the nonce too. 2015-03-20 20:03:37 -07:00
Jae Kwon 36dca3981b Make Call() handle value transfers and reverts. 2015-03-20 18:48:47 -07:00
Jae Kwon 7f12738415 VMAppState bridge to vm. 2015-03-20 16:59:50 -07:00
Jae Kwon ab0ee97c18 ValidatorSet copy benchmark 2015-03-19 13:47:24 -07:00
Jae Kwon 8da3ba05c0 Creating fake_app_state test 2015-03-18 23:30:36 -07:00
Jae Kwon 7c953bb675 deprecate GAS_PRICE 2015-03-18 23:30:36 -07:00
Jae Kwon 532fa3e5ca Return from Call() upon error 2015-03-18 23:27:28 -07:00
Ethan Buchman a2938fd35b p2p: fix switch test for Broadcast returning success channel 2015-03-18 23:27:28 -07:00
Ethan Buchman 21530bf00f p2p: broadcast spawns goroutine to Send on each peer and times out after 10 seconds. Closes #7 2015-03-18 23:27:27 -07:00
Matthew Wampler-Doty 150959b182 Introducing make economy and docker 2015-03-18 23:27:27 -07:00
Ethan Buchman 65a232bd9d p2p: fix switch_test to account for handshake 2015-03-18 23:27:27 -07:00
Ethan Buchman 4abca6e963 p2p: push handshake containing chainId for early disconnect. Closes #12 2015-03-18 23:27:27 -07:00
Ethan Buchman 9c4692c071 remove gas price and dont run txs before they come in a block 2015-03-18 23:27:27 -07:00
Ethan Buchman f384d10a05 block/state: gas price for block and tx 2015-03-18 23:27:27 -07:00
Ethan Buchman 7a33aba6e5 block/state: add CallTx type 2015-03-18 23:27:27 -07:00
Jae Kwon 3efd63e08d Add secp256k1 files 2015-03-18 23:27:26 -07:00
Jae Kwon c21369cebd vm makeover 2015-03-18 23:27:26 -07:00
Matthew Wampler-Doty f03547007a App -> App() 2015-03-18 23:27:26 -07:00
Ethan Buchman e59de906f7 config: hardcode default genesis.json 2015-03-18 23:23:57 -07:00
Ethan Buchman 168b1255ec SetRPCSwitch 2015-03-18 23:23:57 -07:00
Ethan Buchman 983b7f48e8 daemon: refactor out of cmd into own package 2015-03-18 23:23:56 -07:00
Ethan Buchman 7aa1d67c97 rpc: add status and net info 2015-03-18 23:23:56 -07:00
Ethan Buchman f55609a792 consensus: check both vote orderings for dupeout txs 2015-03-18 23:23:56 -07:00
Ethan Buchman 33f8943543 consensus: broadcast evidence tx on ErrVoteConflictingSignature 2015-03-18 23:23:56 -07:00
Jae Kwon 77a16f100c VM intermediate... 2015-03-18 23:23:56 -07:00
Jae Kwon 722474a9b3 Added some common methods 2015-03-18 23:23:55 -07:00
Jae Kwon 4314607699 Merge pull request #19 from tendermint/minor_changes
localhost -> 127.0.0.1
2015-03-17 21:48:17 -07:00
Matthew Wampler-Doty 01cb965cce localhost -> 127.0.0.1 2015-03-16 22:32:16 -07:00
Jae Kwon b24d666b44 Merge pull request #17 from tendermint/minor_changes
Minor changes
2015-03-16 21:08:01 -07:00
Matthew Wampler-Doty c600337a6b RPC only listening to localhost 2015-03-16 03:51:52 -07:00
Matthew Wampler-Doty a78d9c2b59 Making is more fancy 2015-03-16 03:51:24 -07:00
Matthew Wampler-Doty bfe472987f Ingoring OS X nonsense 2015-03-16 03:51:14 -07:00
Jae Kwon 5c8e69d6de Log adding of addresses to book 2015-01-21 14:18:25 -08:00
Jae Kwon 85110224b4 Fix PeerSet.Remove() bug. 2015-01-21 13:40:26 -08:00
Jae Kwon 29cff9ff48 updated dialing logs 2015-01-20 15:52:30 -08:00
Jae Kwon 2b39e56e75 Fixed account.PubkeyEd25519 String() bug 2015-01-20 15:45:20 -08:00
Jae Kwon 687815f6ed Less log lines to STDOUT 2015-01-20 15:31:31 -08:00