Commit Graph

25 Commits

Author SHA1 Message Date
rigel rozanski 8617841296 errors cleanup 2017-07-19 01:23:13 -04:00
rigel rozanski 3d5cf393b9 PR changes 2017-07-18 12:08:29 +02:00
rigel rozanski 5ccf22bfb7 frey changes 2017-07-18 12:08:28 +02:00
rigel rozanski 6e07dbe7c3 nonce testing 2017-07-18 12:08:28 +02:00
rigel rozanski 16b039534d working sequence number with errors 2017-07-18 12:08:28 +02:00
Ethan Frey a508990e08 Cleaned up fees and errors a bit from feedback 2017-07-13 16:20:21 +02:00
Ethan Frey 5950ff34e3 remove sequence number from coins 2017-07-12 19:25:14 +02:00
Ethan Frey 11a8c0d9a2 Add roles middleware and handler 2017-07-11 13:55:28 +02:00
Ethan Frey 765f52e402 Enforce the expiration height in Chain middleware 2017-07-10 12:36:30 +02:00
rigel rozanski 82c0f98235 more golint updating 2017-07-06 23:37:45 -04:00
Ethan Frey 768427dcc0 Removed dependency of errors on basecoin main 2017-07-06 15:20:56 +02:00
rigel rozanski 0303f2aaaa golinted up to and incl modules 2017-07-06 05:30:03 -04:00
Ethan Frey fcab8ac901 Write dispatcher, change SetOption arguments 2017-07-04 12:22:06 +02:00
Ethan Frey 995452ea02 Complete error package overhaul 2017-07-03 14:50:33 +02:00
Ethan Frey 5fa77bf647 Refactor errors package, so we can do type-checking IsXXErr() 2017-07-03 14:22:46 +02:00
Ethan Frey 2fc4da1076 Rough draft of the new coins storage 2017-06-30 20:55:23 +02:00
Ethan Frey 37796002ae Start on coin handler 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 82281aa3bb Add logger and chain middleware, default stack 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 ab72ca881e Add fee handler and signer handler to show how layering works 2017-06-30 18:37:49 +02:00
Ethan Frey be89f1f582 Clean up error handling 2017-06-30 18:37:48 +02:00
Ethan Frey 9db18750be Added ValidateBasic() to all Tx for easy stateless pre-filtering 2017-06-30 18:37:48 +02:00
Ethan Frey 2c9123224e Add refactored SendTx, chain filter, and new error codes 2017-06-30 18:37:48 +02:00
Ethan Frey c130603d10 Import errors from personal tmflow repo, and cleanup 2017-06-30 18:37:48 +02:00