Commit Graph

20 Commits

Author SHA1 Message Date
Ethan Frey 390fdf95cf Cleanup as requested on PR 2017-07-06 12:18:20 +02:00
Ethan Frey 670e7b48d1 Counter uses dispatcher to deduct fees from account 2017-07-04 14:47:46 +02: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 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 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 673b51f3b0 More thorough tests on coin module 2017-06-30 20:26:17 +02:00
Ethan Frey 37796002ae Start on coin handler 2017-06-30 18:37:51 +02:00
Ethan Frey a0f1e5e66a First stab at multiplexer 2017-06-30 18:37:51 +02:00
Ethan Frey aa0c246f64 tmerror now dumps stack trace on %+v as well 2017-06-30 18:37:51 +02:00
Ethan Frey 4eef581396 Tested signature middleware with standard tx wrappers 2017-06-30 18:37:51 +02:00
Ethan Frey b9ce148e8e Add more middleware tests 2017-06-30 18:37:50 +02:00
Ethan Frey 82281aa3bb Add logger and chain middleware, default stack 2017-06-30 18:37:50 +02:00
Ethan Frey 1df0c9fe5b cleanup 2017-06-30 18:37:50 +02:00
Ethan Frey 4883476166 Add recovery middleware, test stack 2017-06-30 18:37:50 +02:00
Ethan Frey 7b5e41adf6 Move middleware interface into stack, testable handlers 2017-06-30 18:37:50 +02:00
Ethan Frey 4d0db39fb9 Abstracts away from pubkey addr -> app/chain-specific "actors" 2017-06-30 18:37:50 +02:00
Ethan Frey 1caeec218f Moved middleware into own package 2017-06-30 18:37:50 +02:00