* bradcast transactions to peers after they get inserted into mempool * remove network argument from mempool init * remove dbg left * remove return value in mempool enable call * rename channel sender and receiver vars * change unwrap() to expect() * change the channel to a hashset * fix build * fix tests * rustfmt * fix tiny space issue inside macro Co-authored-by: teor <teor@riseup.net> * check errors/panics in transaction gossip tests * fix build of newly added tests * Stop dropping the inbound service and mempool in a test Keeping the mempool around avoids a transaction broadcast task error, so we can test that there are no other errors in the task. * Tweak variable names and add comments * Avoid unexpected drops by returning a mempool guard in tests * Use BoxError to simplify service types in tests * Make all returned service types consistent in tests We want to be able to change the setup without changing the tests. Co-authored-by: teor <teor@riseup.net> |
||
|---|---|---|
| .. | ||
| bin/zebrad | ||
| commands | ||
| components | ||
| application.rs | ||
| commands.rs | ||
| components.rs | ||
| config.rs | ||
| lib.rs | ||
| prelude.rs | ||
| sentry.rs | ||