Commit Graph

16 Commits

Author SHA1 Message Date
Sunny Aggarwal d666658ca9 Merge PR #2553: Renamed msg.Name() and msg.Type() to msg.Type() and msg.Route() 2018-10-23 21:23:55 +02:00
Dev Ojha 7d5bc459fa Merge PR #2413: Remove reflection from handlers 2018-09-27 05:04:06 +08:00
Christopher Goes bef7e44f6d
Example tag implementation for CoinKeeper 2018-05-10 17:36:55 +02:00
rigelrozanski d28efaac27 many renames / golint compliance 2018-04-19 00:49:24 -04:00
Sunny Aggarwal 0be651fd27 address rigels review 2018-03-27 19:42:09 +02:00
Sunny Aggarwal 917d431f39 updated app.go 2018-03-25 00:28:41 +01:00
Ethan Frey 734b1073ba Added tx subcommands and automate manual testing 2018-03-01 02:36:57 +00:00
Adrian Brink 8837af66bd Refactor CoinMapper
CoinMapper is now called CoinKeeper to differentiate it from
AccountMapper. A Mapper retrieves things from a store. A Keeper exposes
functionality of coins and maintain invariants.

bank.NewHandler takes a CoinKeeper instead of the entire AccountMapper.
2018-02-13 13:33:19 -05:00
Jae Kwon 3b09a3033a Review feedback from Adrian 2018-01-28 15:20:45 -08:00
Jae Kwon b95b67d520 Separation of Tx from Msg; CodeType 2018-01-26 06:54:03 -08:00
Jae Kwon c6bad0b325 Add first Basecoin test harness 2018-01-26 06:54:03 -08:00
Jae Kwon be665d53fe Substore->Store; BaseApp has db; Mapper 2018-01-22 06:20:46 -08:00
Jae Kwon 14a0dce920
Refactor basecoin example (#332)
Refactor basecoin example
2018-01-17 16:59:40 -08:00
Ethan Buchman 2d56729a1f TransferHandlerFn -> NewHandler 2018-01-12 19:17:17 -08:00
Ethan Buchman 5f76febce8 auth and bank compile 2018-01-12 19:17:17 -08:00
Jae Kwon ba2b4f0f21 WIP: refactor
Refactor

* No more decorators, but rather types.AntiHandler
* No more handlers, but rather types.MsgHandler
* Ability to pass "stores" in NewXYZHandler()
* Coins live in types, and Accounts have coins
* Coinstore -> bank
2018-01-12 19:17:17 -08:00