Author | SHA1 | Message | Date |
---|---|---|---|
Sean Braithwaite | 0cf9f86292 |
Modification based on feedback
+ `routine.send` returns false when routine is not running + this will prevent panics sending to channels which have been closed + Make output channels routine specific removing the risk of someone writting to a channel which was closed by another touine. + consistency changes between the routines and the demuxer |
5 years ago |
Sean Braithwaite | 0cf8812b17 |
[blockchain] v2 riri Schedule composit data structure (#3848)
* Add Schedule: + The schedule is a data structure used to determine the optimal schedule of requests to the optimal set of peers in order to perform fast-sync as fast and efficiently as possible. * Add some doc strings * fix golangci * Add Schedule: + The schedule is a data structure used to determine the optimal schedule of requests to the optimal set of peers in order to perform fast-sync as fast and efficiently as possible. * Add some doc strings * remove globals from tests |
5 years ago |
Sean Braithwaite | d1671d6175 |
blockchain v2: routines
+ Include an implementaiton of the routines specified in ADR-43 along with a demuxer and some dummy reactor code |
5 years ago |