Commit Graph

  • d30fc2fa43 rpc: fix tests to count mempool; copy responses to avoid data races Ethan Buchman 2015-03-28 21:38:29 -07:00
  • fb90d5bc92 rpc: cleanup, more tests, working http and jsonrpc Ethan Buchman 2015-03-28 21:22:39 -07:00
  • 6e81e8a848 rpc: fixes for better type handlings, explicit error field in response, more tests Ethan Buchman 2015-03-27 13:15:59 -07:00
  • 9aeafffd9b rpc: generalized rpc using reflection on funcs and params Ethan Buchman 2015-03-27 02:25:41 -07:00
  • 1fb1163721 rpc: separate out golang API into rpc/core Ethan Buchman 2015-03-26 21:30:42 -07:00
  • d2724c9731 rpc: give each call a dedicated Response struct, add basic test Ethan Buchman 2015-03-25 18:06:57 -07:00
  • 42e2e11364 add dirty bit to BlockCache accounts and storages. construct account’s storage lazily. Jae Kwon 2015-03-29 17:47:12 -07:00
  • ae5af4d44e Merge pull request #1 from tendermint/blah Jae Kwon 2015-03-29 14:56:26 -07:00
  • 4be97fa9d4 Transcribe vm changes from vm_fixes by Ethan Jae Kwon 2015-03-29 00:07:10 -07:00
  • 79304b0dd3 Create BlockCache and TxCache for performance. Jae Kwon 2015-03-28 23:44:07 -07:00
  • fd0646fc4f Compare blockhashes in stageBlock() Jae Kwon 2015-03-26 10:58:20 -07:00
  • af3c418ea9 comment fixes Jae Kwon 2015-03-26 00:52:07 -07:00
  • bd767c1fab Make fast_sync a command-line flag Jae Kwon 2015-03-26 00:35:16 -07:00
  • 7171823fc6 Fix blockpool bugs and clean up log messages. Jae Kwon 2015-03-25 17:16:49 -07:00
  • bd6d9d646d start peer before AddPeer() on reactors. Jae Kwon 2015-03-25 13:22:46 -07:00
  • a2b8318aac allow BlockchainReactor to reset ConsensusReactor state Jae Kwon 2015-03-25 13:17:45 -07:00
  • 788f9bfb93 started/stopped -> running; contiguous vs fast forward ConsensusState updates. Jae Kwon 2015-03-25 13:01:28 -07:00
  • 938eda979b fix bug, peer may be nil Jae Kwon 2015-03-25 12:21:52 -07:00
  • 94c3a51760 bug fix in daemon -- network name only, no chain hash Jae Kwon 2015-03-25 12:13:32 -07:00
  • cebfae60c7 BlockchainReactor syncs first before ConsensusReactor. Jae Kwon 2015-03-25 11:33:39 -07:00
  • aed4bbf0f0 Fix switch tests Jae Kwon 2015-03-25 02:36:59 -07:00
  • 08a83aa9fb Reactors can be stopped or started at any time. Jae Kwon 2015-03-25 00:15:18 -07:00
  • 612f8bab9d Fixed RepeatTimer race condition Jae Kwon 2015-03-24 17:54:09 -07:00
  • 0237d284cc Channel bytes are spelled fully, "XXXChannel" Jae Kwon 2015-03-24 12:00:27 -07:00
  • 9703d34b65 fixed pool, using locks now. Jae Kwon 2015-03-24 11:02:30 -07:00
  • a4606f1c5e Make pool tests faster Jae Kwon 2015-03-22 19:20:54 -07:00
  • 9266f8e27c Merge pull request #40 from tendermint/blockpool Jae Kwon 2015-03-22 19:15:53 -07:00
  • 87e1f76324 tendermint/block -> tendermint/types and tendermint/blockchain Jae Kwon 2015-03-22 19:00:08 -07:00
  • 513decfc5a added NOTE on inefficiency. Jae Kwon 2015-03-22 16:31:29 -07:00
  • 14161ea39c Blockpool tests Jae Kwon 2015-03-22 16:23:24 -07:00
  • 6c7d85c64c Basic test for block_pool Jae Kwon 2015-03-22 12:46:53 -07:00
  • cb0176d4c7 first draft of blockpool Jae Kwon 2015-03-22 03:30:22 -07:00
  • 06a440d9b2 use switch x := y.(type) form Jae Kwon 2015-03-22 03:29:28 -07:00
  • b25915ee41 Minor cleanup Jae Kwon 2015-03-21 19:01:13 -07:00
  • 43a0c253f8 Merge pull request #39 from tendermint/development Jae Kwon 2015-03-21 17:41:41 -07:00
  • 3b05b24b68 Merge pull request #37 from tendermint/create_and_transact ebuchman 2015-03-21 17:32:23 -07:00
  • 6a227004aa state: fixes for creating a contract and msging it in the same block Ethan Buchman 2015-03-21 17:20:34 -07:00
  • acf25835aa vm: fix endianess by flipping on subslic Ethan Buchman 2015-03-21 15:51:36 -07:00
  • 7bf34b1883 state: fix CreateAddress to use Address not Word Ethan Buchman 2015-03-21 13:57:09 -07:00
  • e6da48880b vm: fix Pad functions, state: add debug log for create new account Ethan Buchman 2015-03-21 13:38:46 -07:00
  • f2d5aba2a9 mempool: add GetState() Ethan Buchman 2015-03-21 13:31:17 -07:00
  • 54e222866a Check StorageRoot for Zero before state.Load() again. Closes #36 Ethan Buchman 2015-03-21 13:29:01 -07:00
  • af3b31db24 Check StorageRoot for Zero before state.Load(). Jae Kwon 2015-03-21 13:15:58 -07:00
  • ab8ad30648 Set Pubkey on vm.Account. Jae Kwon 2015-03-21 11:08:05 -07:00
  • a040e6bc27 Merge pull request #34 from tendermint/tx_return Jae Kwon 2015-03-21 09:14:00 -07:00
  • 33fd74eeff Merge pull request #33 from tendermint/close_db Jae Kwon 2015-03-21 09:10:01 -07:00
  • f93bb35c02 rpc: return tx hash, creates contract, contract addr in broadcast (required some helper functions). Closes #30 Ethan Buchman 2015-03-21 02:44:20 -07:00
  • 94c200711b db: add Close() to db interface. closes #31 Ethan Buchman 2015-03-21 01:47:23 -07:00
  • bf87ec1070 vm: check errors early to avoid infinite loop Ethan Buchman 2015-03-21 01:44:47 -07:00
  • e56db7f615 state: fix debug logs Ethan Buchman 2015-03-21 01:44:24 -07:00
  • 6cd46b726d state: ExecTx bug fixes for create contract Ethan Buchman 2015-03-21 00:34:11 -07:00
  • c594c6ef7c Merge pull request #32 from tendermint/public_funcs ebuchman 2015-03-21 00:13:14 -07:00
  • deff645dba some public convenience functions, extra debug errors on ExecTx Ethan Buchman 2015-03-19 02:08:07 -07:00
  • 55d8e29e32 Fixed issues from review with Ethan Jae Kwon 2015-03-20 20:50:38 -07:00
  • 5dcbb272be formatting... Jae Kwon 2015-03-20 20:08:16 -07:00
  • b7553e2bfe Address is generated with VMAppState, and it increments the nonce too. Jae Kwon 2015-03-20 19:59:42 -07:00
  • 36dca3981b Make Call() handle value transfers and reverts. Jae Kwon 2015-03-20 18:48:47 -07:00
  • 7f12738415 VMAppState bridge to vm. Jae Kwon 2015-03-20 05:47:52 -07:00
  • ab0ee97c18 ValidatorSet copy benchmark Jae Kwon 2015-03-19 13:47:24 -07:00
  • 8da3ba05c0 Creating fake_app_state test Jae Kwon 2015-03-18 23:13:16 -07:00
  • 7c953bb675 deprecate GAS_PRICE Jae Kwon 2015-03-18 23:12:53 -07:00
  • 532fa3e5ca Return from Call() upon error Jae Kwon 2015-03-18 01:06:33 -07:00
  • a2938fd35b p2p: fix switch test for Broadcast returning success channel Ethan Buchman 2015-03-18 12:42:11 -07:00
  • 21530bf00f p2p: broadcast spawns goroutine to Send on each peer and times out after 10 seconds. Closes #7 Ethan Buchman 2015-03-18 12:33:48 -07:00
  • 150959b182 Introducing make economy and docker Matthew Wampler-Doty 2015-03-18 01:02:04 -07:00
  • 65a232bd9d p2p: fix switch_test to account for handshake Ethan Buchman 2015-03-17 22:20:30 -07:00
  • 4abca6e963 p2p: push handshake containing chainId for early disconnect. Closes #12 Ethan Buchman 2015-03-17 01:20:39 -07:00
  • 9c4692c071 remove gas price and dont run txs before they come in a block Ethan Buchman 2015-03-18 19:34:55 -07:00
  • f384d10a05 block/state: gas price for block and tx Ethan Buchman 2015-03-18 02:12:03 -07:00
  • 7a33aba6e5 block/state: add CallTx type Ethan Buchman 2015-03-18 01:27:16 -07:00
  • 3efd63e08d Add secp256k1 files Jae Kwon 2015-03-17 23:07:03 -07:00
  • c21369cebd vm makeover Jae Kwon 2015-03-17 21:46:26 -07:00
  • f03547007a App -> App() Matthew Wampler-Doty 2015-03-16 23:16:26 -07:00
  • e59de906f7 config: hardcode default genesis.json Ethan Buchman 2015-03-16 23:34:31 -07:00
  • 168b1255ec SetRPCSwitch Ethan Buchman 2015-03-16 23:21:42 -07:00
  • 983b7f48e8 daemon: refactor out of cmd into own package Ethan Buchman 2015-03-16 22:30:51 -07:00
  • 7aa1d67c97 rpc: add status and net info Ethan Buchman 2015-03-16 22:30:32 -07:00
  • f55609a792 consensus: check both vote orderings for dupeout txs Ethan Buchman 2015-03-16 17:53:36 -07:00
  • 33f8943543 consensus: broadcast evidence tx on ErrVoteConflictingSignature Ethan Buchman 2015-03-16 17:28:53 -07:00
  • 77a16f100c VM intermediate... Jae Kwon 2015-03-16 02:24:08 -07:00
  • 722474a9b3 Added some common methods Jae Kwon 2015-03-16 02:23:35 -07:00
  • 4314607699 Merge pull request #19 from tendermint/minor_changes Jae Kwon 2015-03-17 21:48:17 -07:00
  • 01cb965cce localhost -> 127.0.0.1 Matthew Wampler-Doty 2015-03-16 22:32:16 -07:00
  • b24d666b44 Merge pull request #17 from tendermint/minor_changes Jae Kwon 2015-03-16 21:08:01 -07:00
  • c600337a6b RPC only listening to localhost Matthew Wampler-Doty 2015-03-16 03:51:52 -07:00
  • a78d9c2b59 Making is more fancy Matthew Wampler-Doty 2015-03-16 03:51:24 -07:00
  • bfe472987f Ingoring OS X nonsense Matthew Wampler-Doty 2015-03-16 03:51:14 -07:00
  • 5c8e69d6de Log adding of addresses to book Jae Kwon 2015-01-21 14:18:25 -08:00
  • 85110224b4 Fix PeerSet.Remove() bug. Jae Kwon 2015-01-21 13:40:26 -08:00
  • 29cff9ff48 updated dialing logs Jae Kwon 2015-01-20 15:52:30 -08:00
  • 2b39e56e75 Fixed account.PubkeyEd25519 String() bug Jae Kwon 2015-01-20 15:45:20 -08:00
  • 687815f6ed Less log lines to STDOUT Jae Kwon 2015-01-20 15:31:31 -08:00
  • b7b1d6a596 Update README.md Jae Kwon 2015-01-20 03:30:57 -08:00
  • 72fc522bbf Removing openssl, not required Jae Kwon 2015-01-19 15:33:49 -08:00
  • 6c48642ff9 don't cache the block/header hashes. fixes a cache invalidation bug Jae Kwon 2015-01-19 14:08:53 -08:00
  • b7b88cd763 use WriteTime/ReadTime, and also log how the block header gets hashed Jae Kwon 2015-01-18 23:59:21 -08:00
  • 892a51014e removed cgo dependency, go-ed25519 -> agl/ed25519 Jae Kwon 2015-01-18 06:34:01 -08:00
  • 249ae38068 test bondTx Jae Kwon 2015-01-17 01:56:55 -08:00
  • 165907fbb9 Ensure correct peer vote bitarray capacity Jae Kwon 2015-01-16 02:49:15 -08:00
  • d1a36d2ac2 Validation validation bug fix --> keep track of LastBondedValidators Jae Kwon 2015-01-16 02:18:49 -08:00