Open dnkolegov opened 2 years ago
This is a great point, and I agree we should get it fixed.
The first option is the friction-less one (and the most obvious).
I think the the other two may have their trade-offs:
I'd suggest to start with 1, document 2 and 3 in an issue, and decide after we re-architect the code. WDYT?
The first option added - https://github.com/filecoin-project/eudico/pull/234/commits/6fb898b5a42ab39b075c404d2c003b55e2e36777
In most Mine functions we use polling in the default clause of the select statement. This leads to the following million lines in the logs and probably big inefficiency.
Could we improve it at least from a usability perspective:
<-receiveFromMempool.C
, but in this case, it is not obvious how often we should read from mempoolThe first suggestion is the most trivial one.
@adlrocha What do you think?