Commit Graph

152 Commits

Author SHA1 Message Date
Ethan Frey
630c5ca9ff Update iavl tree and address pr cleanup comments 2017-10-25 19:14:28 +02:00
Ethan Frey
c4ead8b8a3 Expose height flag in all queries 2017-10-25 19:14:28 +02:00
Ethan Frey
3b7020520c Clean up store versions after a limit 2017-10-25 19:14:28 +02:00
Ethan Frey
acdc083821 Clean up genesis, add godoc to genesis and app 2017-10-20 13:42:03 +02:00
Ethan Frey
7631680159 Cleanup names in genesis package 2017-10-20 13:42:03 +02:00
Ethan Frey
6305399baf Pulled genesis file parsing into own package, for clarity 2017-10-20 13:42:03 +02:00
Ethan Frey
4855b3c9d9 StoreApp explicitly exposes some State methods, not embedded, for better godoc 2017-10-20 13:42:03 +02:00
Ethan Frey
3316bfcfb8 Abort on error with genesis app_options 2017-10-20 13:42:03 +02:00
Ethan Frey
f65215ad92 Big cleanup of app dir
StoreApp just the queries, BaseApp with handler/ticker
Ticker now defined top level, as an interface, with context
Name for info taken as parameter, start cmd uses commandline name
Cleaner compisition of apps.
2017-10-20 13:42:03 +02:00
Ethan Frey
3a16fa9482 Clean up genesis handling 2017-10-20 13:42:03 +02:00
Ethan Frey
adab86c947 Cleanup 2017-10-20 13:42:03 +02:00
Ethan Frey
df0f3a22da Separate genesis parsing from basecoin 2017-10-20 13:42:03 +02:00
Ethan Frey
c1d36eeb21 Fixed all tests 2017-10-20 13:42:03 +02:00
Ethan Frey
9d1205f8c7 Merged app.Store into app.BaseApp 2017-10-20 13:42:03 +02:00
Ethan Frey
987c0469da Pull out basecoin stuff 2017-10-20 13:42:03 +02:00
Ethan Frey
e863e1be70 Started separating BaseApp from Basecoin 2017-10-20 13:42:03 +02:00
Ethan Buchman
f6513738cf Merge pull request #255 from cosmos/feature/staking
Feature/staking
2017-10-11 16:53:16 -04:00
rigelrozanski
40c79a65b3 strings -> mycoin (cointype change) 2017-10-11 13:24:49 -04:00
Ethan Frey
724fb065f2 Fix off-by-one in handshake, add debug logging 2017-10-10 17:10:10 +02:00
Ethan Frey
98e615709a Return most recent state, even if it does block 2017-10-10 16:16:25 +02:00
Ethan Frey
5238448a46 Make sure height in store increments every block, even if empty 2017-10-10 15:03:39 +02:00
Ethan Frey
9092b4d7f1 Fix TestTxProofs 2017-10-10 14:27:38 +02:00
Ethan Frey
1e6d9bcac6 cleanup 2017-10-10 13:55:17 +02:00
Ethan Frey
e0604baad5 Get abci commit hash/height working 2017-10-10 13:48:48 +02:00
Ethan Frey
e85854fa83 state.NewState is always persistent, remove flag 2017-10-10 13:19:25 +02:00
rigelrozanski
2ea45d8ec2 mycoin -> strings 2017-10-09 01:14:16 -04:00
Alexis Sellier
75e2591a68 Start adding versioned queries support 2017-10-05 15:54:57 +02:00
Alexis Sellier
36f8c59fee Move to iavl.VersionedTree 2017-10-04 17:05:38 +02:00
rigelrozanski
6eb884017b proper integration of tick functionality 2017-10-03 19:01:02 -04:00
rigelrozanski
20e1b92ad4 remove ticker from begin block 2017-10-03 16:42:01 -04:00
rigelrozanski
007fc330a4 ticker in the begin block logic 2017-10-03 03:47:26 -04:00
Ethan Buchman
1f151d1232 update for tendermint 0.11 2017-10-02 14:40:42 -04:00
Ethan Frey
2951763660 Moved merkleeyes->iavl and updated references 2017-09-08 20:47:46 +02:00
Ethan Frey
080d9a1e31 Remove random test failures 2017-09-05 17:34:04 +02:00
Ethan Frey
041943c441 Rename all packages and imports to cosmos-sdk 2017-08-21 22:15:15 +01:00
Alexis Sellier
d629f27800 Use new proof method 2017-08-04 17:03:07 +02:00
Ethan Frey
2f4f875dd4 Cleanup from PR comments 2017-08-04 13:50:55 +02:00
Ethan Frey
21e2399fc4 Tested and fixed multiplexer, add more helpers 2017-08-03 21:41:24 +02:00
Ethan Frey
70fe2444ab Deduplicate validator changes in EndBlock and test this 2017-08-03 21:41:24 +02:00
Ethan Frey
a46cb62272 Returns all validator changes from DeliverTx in EndBlock 2017-08-03 21:41:24 +02:00
Ethan Frey
4b69f1d5ba Rename SetOption to InitState 2017-08-03 21:41:23 +02:00
Ethan Frey
0b9be1069f Cleanup some todos 2017-08-03 17:37:15 +02:00
Ethan Frey
b7f31ad70a Test sendtx with foreign addr creates proper ibc packet 2017-07-27 16:36:15 -04:00
Ethan Frey
fd10387eb5 Tested register and update ibc via cli 2017-07-27 16:30:20 -04:00
Ethan Frey
dfdbfa04c2 Use KVMemCache for checkpointing IAVL tree as they are not go-routine safe... 2017-07-27 15:31:34 -04:00
Ethan Frey
27e7fbe4cf Last cleanup 2017-07-27 15:31:34 -04:00
Ethan Frey
2b79aa0413 Code cleanup from emmanuel 2017-07-27 15:31:34 -04:00
Ethan Frey
ea8bdd3f92 Fix app state to commit properly 2017-07-27 15:31:34 -04:00
Ethan Frey
51a29e4bb7 Ported everything to SimpleDB interface 2017-07-27 15:31:33 -04:00
Ethan Frey
199ee81a97 Revert all on failed CheckTx, fee+nonce increment on failed DeliverTx 2017-07-27 15:31:33 -04:00