Commit Graph

137 Commits

Author SHA1 Message Date
Ethan Frey 11a8c0d9a2 Add roles middleware and handler 2017-07-11 13:55:28 +02:00
Ethan Frey 3e52e6b959 Add role struct, storage, better tx validation 2017-07-11 13:54:41 +02:00
Ethan Frey 9eb3c3c7de Start specifying the roles module 2017-07-11 13:53:05 +02:00
Ethan Frey 64f2c63e21 Fixes as per Rigels comments on PR 2017-07-11 13:44:44 +02:00
Ethan Frey 765f52e402 Enforce the expiration height in Chain middleware 2017-07-10 12:36:30 +02:00
Ethan Frey b6197a1c12 Add height to context, cleanup, add to app and stack 2017-07-10 12:19:42 +02:00
Ethan Frey 100d88d7dd Fix up all tests to handle NewChainTx change 2017-07-10 11:57:37 +02:00
Ethan Frey af9ce5b553 Add expiration field to ChainTx 2017-07-10 11:44:40 +02:00
rigel rozanski 1821f8bd7a more cleanup
int
2017-07-07 01:27:29 -04:00
rigel rozanski 82c0f98235 more golint updating 2017-07-06 23:37:45 -04:00
Ethan Frey 58bc1e3cf8 Simple coin benchmark with memkvstore 2017-07-06 17:07:40 +02:00
Ethan Frey 28b5350cb6 Added simple benchmark for signature checks 2017-07-06 16:51:40 +02:00
Ethan Frey b757467f7b Moved content of txs package to sit next to the handlers 2017-07-06 16:33:38 +02:00
Ethan Frey a047e210fa Moved the handlers from stack into modules 2017-07-06 16:00:54 +02:00
Ethan Frey 6983f61961 Moved Coins from types -> modules/coin 2017-07-06 14:59:45 +02:00
Ethan Frey 49357a3574 Move kvstore from types to state 2017-07-06 14:23:38 +02:00
Ethan Frey 912c24093f Removed a whole lot of old crud 2017-07-06 13:40:02 +02:00
rigel rozanski 9b561344fe addressing PR 154 comments 2017-07-06 05:39:58 -04:00
rigel rozanski 0303f2aaaa golinted up to and incl modules 2017-07-06 05:30:03 -04:00
rigel rozanski 375fad3bec go linting working 2017-07-04 23:28:27 -04:00
Ethan Frey 473451f020 Integrate dispatcher into app, and fix tests 2017-07-04 12:46:57 +02:00
Ethan Frey fcab8ac901 Write dispatcher, change SetOption arguments 2017-07-04 12:22:06 +02:00
Ethan Frey 413ea2e23f basecli works for sendtx and cli tests 2017-07-03 22:30:12 +02:00
Ethan Frey fc44de2141 Fix up BasecoinApp and tests 2017-07-03 21:34:08 +02:00
Ethan Frey 7c4f408934 Implement SetOption in coin module 2017-07-03 18:58:28 +02:00
Ethan Frey fa1a300943 Add SetOption to all middleware and handlers 2017-07-03 18:10:46 +02:00
Ethan Frey 159574db89 Move ChainID into context 2017-07-03 17:32:01 +02:00
Ethan Frey c5a1b4883a Connect coin handler to a store and test it 2017-07-03 15:33:59 +02:00
Ethan Frey 225904b010 NewXYZTx returns Tx already wrapped, except for sigs 2017-07-03 15:01:28 +02:00
Ethan Frey 995452ea02 Complete error package overhaul 2017-07-03 14:50:33 +02:00
Ethan Frey 2fc4da1076 Rough draft of the new coins storage 2017-06-30 20:55:23 +02:00
Ethan Frey 673b51f3b0 More thorough tests on coin module 2017-06-30 20:26:17 +02:00
Ethan Frey 27a31953f9 Now solid validation tests for coin 2017-06-30 20:00:27 +02:00
Ethan Frey c2edd9ac14 Start testing the sendtx validation 2017-06-30 19:44:35 +02:00
Ethan Frey 37796002ae Start on coin handler 2017-06-30 18:37:51 +02:00
Ethan Frey 6fdf71f187 Pull out sendtx into own module 2017-06-30 18:37:51 +02:00
Ethan Frey 872c04280c Pull out fees from base into own module 2017-06-30 18:37:51 +02:00