You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As part of filecoin-project/oni#146, we need to make windowed PoSt and sector sealing write out journal entries.
Another component that would benefit from (selective) journalling is the mpool, so we can observe the effect of spamming attacks on the mpools of nodes. See discussion here: filecoin-project/oni#145 (comment).
This issue includes:
injecting the journal as a constructor upon Node construction, so we can instantiate different kinds of journals.
implement an observable, in-mem journal, which we'll use for testing.
if we migrate to zap as a backend, we might get this for free, although that implementation is not reactive :-(
we'll need to subscribe to journal entries in a streaming fashion, applying optional filter predicates.
we'll need to be able to clear the store (on every epoch, likely), so that we don't leak memory.
add a "event" field to journal entries, so we'll have "system" and "event" fields in the journal entry "header", and then a custom "payload/data" field.
consider typed events; right now journal entries are map[string]interface{}, which we could map through https://github.com/mitchellh/mapstructure when consuming. I wonder if the journal should take typed events, though, from the start. Not a priority right now, but food for thought.
make the mpool write journal entries; this can be very noisy in production, so make sure that we can select the level of verbosity (local mpool pushes, mpool add, mpool drop).
make deals write journal entries.
make sealing write journal entries.
The text was updated successfully, but these errors were encountered:
We can consider this done, since #2455. The part that's left is related to testing (in-memory journal), but will be addressed separately, if still needed.
As part of filecoin-project/oni#146, we need to make windowed PoSt and sector sealing write out journal entries.
Another component that would benefit from (selective) journalling is the mpool, so we can observe the effect of spamming attacks on the mpools of nodes. See discussion here: filecoin-project/oni#145 (comment).
This issue includes:
Node
construction, so we can instantiate different kinds of journals.map[string]interface{}
, which we could map through https://github.com/mitchellh/mapstructure when consuming. I wonder if the journal should take typed events, though, from the start. Not a priority right now, but food for thought.The text was updated successfully, but these errors were encountered: