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
Copy file name to clipboardExpand all lines: pss/outbox/outbox.go
+30-29Lines changed: 30 additions & 29 deletions
Original file line number
Diff line number
Diff line change
@@ -4,37 +4,38 @@ import (
4
4
"errors"
5
5
"github.com/ethereum/go-ethereum/metrics"
6
6
"github.com/ethersphere/swarm/log"
7
-
)
8
-
9
-
const (
10
-
defaultOutboxCapacity=100000
7
+
"github.com/ethersphere/swarm/pss/message"
11
8
)
12
9
13
10
typeOutboxinterface {
14
-
Enqueue(outboxmsg*outboxMsg) error
11
+
Enqueue(outboxMsg*outboxMsg) error
15
12
ProcessOutbox()
16
-
SetForwardFunction(forwardFuncfunc(msginterface{}) error) //Eventually this will not be needed, when pss has a newMock that creates a mock outbox, this is used just for a test outside of outbox package
13
+
SetForwardFunction(forwardFuncforwardFunction) // Needed right now to mock forwardFunc in one pss_tests test
0 commit comments