Commit Graph
384 Commits
Author SHA1 Message Date
mossid 12a17f6996 merge commit 2018-03-31 19:40:40 +02:00
Ethan Buchman 20bb78399b fix democoin 2018-03-31 19:01:54 +03:00
Ethan Buchman e226cb7a35 Merge branch 'develop' into cwgoes/misc-minor-fixes 2018-03-31 18:54:06 +03:00
Christopher Goes c8bba0545b Add back cool module tests to democoin 2018-03-30 20:23:24 +02:00
Christopher Goes f1af53fe30 Move 'sketchy' and 'cool' modules to democoin, which is separate from basecoin 2018-03-30 20:13:22 +02:00
Christopher Goes 10a22f20ba Remove 'cool' and 'sketchy' modules from basecoind 2018-03-30 16:32:11 +02:00
Ethan Buchman d25593afc4 Merge pull request #726 from cosmos/adrian/mountmultipledbs
Mount every single store with its own DB
2018-03-30 06:41:10 -04:00
Ethan Buchman 55e72781ce basecoin: uncomment test 2018-03-30 13:40:04 +03:00
Adrian Brink 0789a5eed0 NewBasecoinApp takes a map of databases
NewBasecoinApp takes a map[string]dbm.DB . This stabilises the API,
since it allows us to add more stores without a breaking change. The
convention is that the keys of the dbs correspond to the names of the
capKeys.
2018-03-30 12:18:12 +02:00
Adrian Brink fcc8a9a415 Address comments
I hope this is correct. I'm feely pretty dizzy right now from the fish
food.
2018-03-29 20:44:56 +02:00
Christopher Goes fd4e2c53ed Update gaid for GenAppState change 2018-03-29 12:16:08 +02:00
Christopher Goes bb66b852ef Move keybase DB to ~/.basecoind/data (closes #644) 2018-03-29 12:04:52 +02:00
Christopher Goes 27d24610ab basecoind init --testnet (closes #718) 2018-03-29 12:04:52 +02:00
Sunny Aggarwal bc1d9e6f93 fixed package name 2018-03-29 06:40:06 +02:00
Sunny Aggarwal 9d9001ab62 renamed staking to simplestake 2018-03-29 06:33:45 +02:00
rigelrozanski 91d3838464 revert examples/basecoin 2018-03-28 19:01:50 +02:00
rigelrozanski dc8636390c refactor, staking uses addresses instead of pubkey
staking refactoring working

working
2018-03-28 19:01:50 +02:00
rigelrozanski b284fd190f added gaia working cli from frey 2018-03-28 19:01:49 +02:00
rigelrozanski c2ddc582c4 working gaia store 2018-03-28 19:01:49 +02:00
rigelrozanski 266a8392d3 initial add gaia
working
2018-03-28 19:01:49 +02:00
Rigel 76d66aba3b Merge pull request #710 from cosmos/cwgoes/show_validator
Add show_validator command from tendermint to basecoind
2018-03-28 18:57:05 +02:00
Adrian Brink 243564c233 Tests can never be proven to be non-deterministic
Our tests are at best probabilistic deterministic.
2018-03-28 15:08:59 +02:00
Adrian Brink 8574f923e8 Mount every single store with its own DB 2018-03-28 14:33:48 +02:00
Christopher Goes 4371667673 Add show_validator command (ref #704) 2018-03-28 11:41:55 +02:00
Christopher Goes 90304fcfef Rebase onto #690 (tiny fix) 2018-03-28 11:24:31 +02:00
Christopher Goes 5b642062a7 Initial per-module genesis initialization 2018-03-28 11:24:31 +02:00
Rigel d0eb05b162 Merge pull request #690 from cosmos/sunny/keeper-based-modules
Keeper based modules
2018-03-28 02:47:50 +02:00
Ethan Buchman 742d24b7e4 Merge pull request #699 from lino-network/builder
Encapsulate Get Passphrase Logic in Builder
2018-03-27 20:25:48 -04:00
rigelrozanski 010386f48d sprintf and fix error codes 2018-03-27 21:49:11 +02:00
Sunny Aggarwal 0be651fd27 address rigels review 2018-03-27 19:42:09 +02:00
Christopher Goes 4a8e762adf Move basecoin.db to ~/.basecoind/data in app and mock (ref #683) 2018-03-27 12:14:35 +02:00
Christopher Goes 3126afd12b Add show_node_id command (closes #704) 2018-03-26 20:13:46 +02:00
Yukai Tu 96d9c55172 Encaptulate Get Passphrase Logic in Builder 2018-03-24 23:14:18 -07:00
Sunny Aggarwal 131289ce70 everything but IBC module 2018-03-25 00:29:33 +01:00
Sunny Aggarwal 2fc5cc6bcd updated app.go 2018-03-25 00:29:33 +01:00
Sunny Aggarwal b118b34695 worked on coolKeeper 2018-03-25 00:29:33 +01:00
Sunny Aggarwal 917d431f39 updated app.go 2018-03-25 00:28:41 +01:00
rigelrozanski 658f58015f ... 2018-03-25 00:27:29 +01:00
Sunny Aggarwal 8b19ffa7c1 worked on coolKeeper 2018-03-25 00:27:29 +01:00
Christopher Goes 47b8767208 Refactor to keeper-based module (#689) 2018-03-24 21:41:26 +01:00
Christopher Goes 1b4a3d24ff Implement basic proof-of-work module & add to basecoin example
Module users specify a coin denomination and proof-of-work reward.
Blockchain clients can then submit SHA256 Hashcash solutions and receive
the reward, with a constantly increasing difficulty.

Includes replay protection to prevent the same solution being submitted
multiple times, and inclusion of the rewardee in the hash data to
prevent others from submitting the same solution once they see it in the
tx pool.

Reasonably comprehensive testsuite
2018-03-22 18:51:23 +01:00
Ethan Buchman 723889570e ErrTxParse->ErrTxDecode; check for empty bytes in account and tx 2018-03-21 02:44:17 +01:00
Ethan Buchman e4b8010077 ParseAccount -> AccountDecoder 2018-03-21 02:22:15 +01:00
Adrian Brink 75674a9ec3 Implement Simple Staking as a module
The simple staking module allows validators to bond and add more stake
to their bond. It doesn't allow partial unbond and has no delegation.
The staking power per validator though is correctly reflected within the
consensus.
2018-03-20 12:14:35 +01:00
mossid 2c0b172653 apply comments 2018-03-20 00:22:49 +01:00
Joon e80f7b040c Merge branch 'develop' into joon/ibc-mvp1 2018-03-19 22:53:58 +01:00
Ethan Buchman 984aff12da Merge pull request #642 from cosmos/sunny/errors
move some errors to sdk from bank
2018-03-19 22:37:30 +01:00
mossid 3ae618fd4a comment out TestGenesis 2018-03-19 21:08:55 +01:00
Adrian Brink 54b162f5c3 Merge branch 'develop' into joon/ibc-mvp1 2018-03-18 17:11:34 +01:00
Adrian Brink f1cb7299ae Start testing the relayer 2018-03-18 16:24:48 +01:00