A very experimental PLC implementation which uses BFT consensus for decentralization
at main 12 lines 278 B view raw
1package types 2 3import ( 4 "context" 5 6 ctypes "github.com/cometbft/cometbft/rpc/core/types" 7 "github.com/cometbft/cometbft/types" 8) 9 10type MempoolSubmitter interface { 11 BroadcastTx(ctx context.Context, tx types.Tx, waitForInclusion bool) (*ctypes.ResultBroadcastTxCommit, error) 12}