Consensus filter

This commit is contained in:
Łukasz Magiera
2020-08-06 03:16:39 +02:00
parent 6b8f27264b
commit f8b8ecc0c3
9 changed files with 153 additions and 5 deletions
+2
View File
@@ -3,6 +3,7 @@ package node
import (
"context"
"errors"
"github.com/filecoin-project/lotus/chain/gen/slashfilter"
"github.com/filecoin-project/lotus/markets/dealfilter"
"time"
@@ -214,6 +215,7 @@ func Online() Option {
libp2p(),
// common
Override(new(*slashfilter.SlashFilter), modules.NewSlashFilter),
// Full node