Commit Graph

142 Commits

Author SHA1 Message Date
Jae Kwon 4e6ea7f9f7 Merge pull request #143 from tendermint/versioning
more versioning
2015-09-22 18:48:07 -07:00
Jae Kwon 2feb3ea651 Merge pull request #144 from tendermint/namereg
update namereg with longer names, more allowed chars
2015-09-22 18:43:50 -07:00
Ethan Buchman b54522c60f more versioning 2015-09-16 05:08:06 +00:00
Ethan Buchman e4f0e2b399 update namereg with longer names, more allowed chars 2015-09-15 19:43:22 -04:00
Ethan Buchman aab024f18d consensus events 2015-09-15 14:41:23 -04:00
Ethan Buchman 2b8157ce2a addVote takes index 2015-09-15 14:26:42 -04:00
Jae Kwon 5e015bc669 Probable fix for #140 2015-09-11 21:09:01 -07:00
Jae Kwon 56b195a899 tendermint send_tx 2015-08-14 14:11:11 -07:00
Jae Kwon 5bf0040f14 Parts -> PartsHeader; *_parts -> *_parts_header in sign_bytes 2015-08-12 22:36:43 -07:00
Jae Kwon b96fd8a031 Beginning of complete merkle proofs 2015-08-11 14:12:30 -07:00
Jae Kwon ffcc657be6 event listeners take EventData, not interface{}; EventData type assertions 2015-08-11 12:46:33 -07:00
Jae Kwon 1b9fd811a1 RPCResponse.Result && EventData are registered interfaces; -skip_upnp option 2015-08-11 11:01:18 -07:00
Jae Kwon 60310cc23f websocket server sends pings; added ws_client; events refactor 2015-08-11 11:01:17 -07:00
Jae Kwon 37c68e838e Merge pull request #124 from tendermint/new_contract_address
move NewContractAddress to types and use ripemd160
2015-08-10 10:31:24 -07:00
Ethan Buchman 9b69894180 namereg event 2015-08-02 22:29:35 -04:00
Ethan Buchman 6f25dfef44 move NewContractAddress to types and use ripemd160 2015-08-02 22:24:35 -04:00
Jae Kwon 3be3647dc8 tendermint/binary -> tendermint/wire 2015-07-28 12:18:17 -07:00
Jae Kwon 0ef5c3ad07 Fix returning prematurely within if(runCall){...}.
Renames
2015-07-28 12:16:17 -07:00
Jae Kwon feeab6579b Acc/X/Receive -> Acc/X/Call 2015-07-23 23:57:28 -07:00
Ethan Buchman 31b9d8ee27 SNativeTx -> PermissionTx, consolidate permissions and native contracts 2015-07-22 10:49:53 -04:00
Ethan Buchman d528d002fa SNativeTx sign bytes 2015-07-22 10:49:53 -04:00
Ethan Buchman e037093740 snative refactor and SNativeTx 2015-07-22 10:49:53 -04:00
Ethan Buchman 8e50bf15de panic wrapper functions 2015-07-21 10:46:05 -04:00
Jae Kwon 1e7cc32597 tendermint/account -> acm 2015-07-19 09:40:55 -07:00
Ethan Buchman dc7b912881 crypto byte arrays are fixed length 2015-07-17 17:19:16 -04:00
Jae Kwon d83ee27b6a Merge branch 'sim_txs' into develop 2015-07-16 00:55:04 -07:00
androlo 0a72c1ee50 * tendermint/binary handles fixed-length arrays
* log-event tests
2015-07-16 00:45:29 -07:00
Jae Kwon e4c351f5fc UUID -> PubKeyEd25519 2015-07-15 14:31:03 -07:00
Jae Kwon fd64547ce7 Put a SecretConnection before the MConnection; Node Priv/PubKeys 2015-07-15 14:17:20 -07:00
Ethan Buchman d0610845dc peers use uuid to avoid duplicate connections 2015-07-12 02:16:33 +00:00
Ethan Buchman 3f7f3dd37f add git commit hash to nodeInfo 2015-07-12 02:16:33 +00:00
Jae Kwon 109a3c2dd3 Added sim_txs draft 2015-07-11 18:01:21 -07:00
Jae Kwon 2e1d8ba054 Make Ripemd160 the default 2015-07-10 12:15:46 -07:00
Ethan Buchman 72b681a1bc fix TxID to use ripemd160 in events and rpc return 2015-07-10 05:56:38 +00:00
Jae Kwon c79062ef6a Fix state/State race condition bug. 2015-07-09 21:46:15 -07:00
Jae Kwon a55cc5c65e nil validation has zero size 2015-07-05 15:47:30 -07:00
Jae Kwon 41d04cf5b8 consensus reactor code polish, fixed prs BitArray cache invalidation bug 2015-07-05 13:40:59 -07:00
Jae Kwon 7196e5ad8e string formatting 2015-06-28 18:52:06 -07:00
Jae Kwon 027ad79f9c Fix String() for nil votes, and non-full Validation 2015-06-26 17:54:02 -07:00
Jae Kwon 26c192b047 Fix consensus:
* Use LastValidators when a Vote is received for the last height.
* Fix Validation.Height/Round to use FirstPrecommit.
2015-06-26 17:48:24 -07:00
Jae Kwon 9965dd5de6 uint* to int* whereever appropriate; https://www.reddit.com/r/golang/comments/2q5vdu/int_vs_uint/ 2015-06-25 20:28:34 -07:00
Jae Kwon 9e1794eaea Fixed tests 2015-06-24 14:04:40 -07:00
Jae Kwon 9b96e2e171 ProposalPOLRound... 2015-06-22 19:04:31 -07:00
Jae Kwon 829df93577 Re-use ValidatorSet.VerifyValidation() 2015-06-21 19:11:21 -07:00
Jae Kwon 7752405945 Draft of consensus/reactor refactor. 2015-06-21 18:09:51 -07:00
Jae Kwon 01b5540ffe consensus/state is 2-step asynchronous 2015-06-19 15:30:21 -07:00
Jae Kwon 6a0223641f type assert fix 2015-06-19 12:09:27 -07:00
Jae Kwon 1a652a1cbb Fix usage of SimpleProof for PartSet 2015-06-18 22:08:22 -07:00
Ethan Buchman 35006ee49f unbond, rebond utils 2015-06-18 18:49:27 -04:00
Ethan Buchman 46bd0e5d51 allow . in names 2015-06-04 20:24:28 -04:00
Jae Kwon 6062b06aa9 fixed NameTx.WriteSignBytes() bug. 2015-06-01 17:49:24 -07:00
Jae Kwon c8103f6415 sign-bytes field ordering & escaping of strings 2015-06-01 14:59:10 -07:00
Ethan Buchman 41502e05c1 chain_id written as string not hex in WriteSignBytes 2015-05-30 20:20:04 -04:00
Ethan Buchman 6eb8386c7c fixes for chain id in nametx sign functions 2015-05-30 01:54:25 -04:00
Ethan Buchman 19bd3bb2e2 int/nonce fixes 2015-05-30 01:21:42 -04:00
Ethan Buchman 77ff09e173 namereg cleanup, tests 2015-05-30 01:20:42 -04:00
Ethan Buchman 02aedaaefb more cleanup rpc tests, testing namereg 2015-05-30 01:19:03 -04:00
Ethan Buchman cff6bcfb31 copy entry on get, use strings for name/data, uint64 for expires 2015-05-30 01:19:03 -04:00
Ethan Buchman baaa69d7f8 namereg rpc and tests 2015-05-30 01:19:02 -04:00
Ethan Buchman 8631d5085e name reg 2015-05-30 01:19:02 -04:00
Ethan Buchman 2045aee9cd pass chainID through sign interfaces 2015-05-29 18:14:19 -04:00
Ethan Buchman 8a2d9525f0 network > chain_id, put in genesis.json 2015-05-29 18:14:19 -04:00
Ethan Buchman c28614fca1 cleanup rpc tests, use tx_utils 2015-05-22 18:22:57 -04:00
Ethan Buchman e9695baebb tx utils 2015-05-20 21:26:33 -04:00
Ethan Buchman d43c776e84 add bonder's signature to BondTx 2015-05-20 19:36:55 -04:00
Jae Kwon 489bf767cb importing tendermint/config/tendermint_test applies the test config 2015-05-17 16:19:58 -07:00
Jae Kwon 75ef479547 Config is passed into each module. Remove tendermint/confer 2015-05-17 16:19:57 -07:00
Jae Kwon 85c8850ac2 Config names have no dots, are under_scored. 2015-05-12 17:40:29 -07:00
Jae Kwon da73e001ad BitArray takes a pointer receiver. More logging 2015-05-05 23:01:19 -07:00
Jae Kwon 8b6d489755 Update vote log 2015-05-05 16:58:26 -07:00
Jae Kwon b92c0401e6 Made all JSON fields lower_case 2015-05-01 17:26:49 -07:00
Jae Kwon 5366d808ba Proposal WriteSignBytes is JSON 2015-04-27 21:06:36 -07:00
Jae Kwon 0cb99be988 Log expected and result of SignBytes tests, drone.io is failing 2015-04-27 13:57:55 -07:00
Jae Kwon 54d1c19611 WriteSignBytes writes JSON with fields in lex order. 2015-04-25 19:42:20 -07:00
Ethan Buchman 0e80059e79 versioning 2015-04-23 16:53:28 -07:00
Jae Kwon 2ba6f86f2e Add Network to SignBytes, to prevent network clashes 2015-04-20 23:59:52 -07:00
Jae Kwon dc1fddd1d8 Added NodeInfo (still need to add to AddrBook); Proper Handshake 2015-04-20 15:29:01 -07:00
Jae Kwon a9467414d6 Merge remote-tracking branch 'origin/websockets' into develop 2015-04-17 13:20:47 -07:00
Ethan Buchman a1c5e32d76 fixes from review with jae 2015-04-15 22:19:29 -07:00
Jae Kwon e5d34befde Remote TypeByte() 2015-04-14 15:57:16 -07:00
Jae Kwon 37ddf3d09e Merkle root of tx is for signbytes 2015-04-14 15:57:13 -07:00
Ethan Buchman 85661de293 fire events, event urls 2015-04-13 21:42:48 -07:00
Jae Kwon 6d6f061f19 Support nil pointers for Binary.
If the thing does not already have a typebyte declared,
a fake one will be given (0x01).
A TypeByte of 0x00 is reserved for nil things.
No nil-dogs.
2015-04-12 17:46:16 -07:00
Jae Kwon 13b6508ecd Package import path change 2015-04-01 17:30:16 -07:00
Ethan Buchman 60f166e823 tendermint2 2015-03-31 15:33:31 -07:00
Jae Kwon 5cb57d3eaa Use BlockCache for RPC/mempool and added TxId()
TxId() uses signbytes
2015-03-29 18:43:27 -07:00
Jae Kwon fd0646fc4f Compare blockhashes in stageBlock() 2015-03-26 14:18:10 -07:00
Jae Kwon cebfae60c7 BlockchainReactor syncs first before ConsensusReactor. 2015-03-25 11:50:28 -07:00
Jae Kwon 08a83aa9fb Reactors can be stopped or started at any time. 2015-03-25 00:15:18 -07:00
Jae Kwon 612f8bab9d Fixed RepeatTimer race condition 2015-03-25 00:01:01 -07:00
Jae Kwon 0237d284cc Channel bytes are spelled fully, "XXXChannel" 2015-03-24 12:00:27 -07:00
Jae Kwon 87e1f76324 tendermint/block -> tendermint/types and tendermint/blockchain 2015-03-22 19:00:08 -07:00