File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ import (
2121 "github.com/blinklabs-io/gouroboros/protocol/chainsync"
2222 "github.com/blinklabs-io/gouroboros/protocol/keepalive"
2323 "github.com/blinklabs-io/gouroboros/protocol/localstatequery"
24+ "github.com/blinklabs-io/gouroboros/protocol/localtxmonitor"
2425 "github.com/blinklabs-io/gouroboros/protocol/localtxsubmission"
2526 "github.com/blinklabs-io/gouroboros/protocol/peersharing"
2627 "github.com/blinklabs-io/gouroboros/protocol/txsubmission"
@@ -133,6 +134,15 @@ func WithLocalStateQueryConfig(
133134 }
134135}
135136
137+ // WithLocalTxMonitorConfig specifies LocalTxMonitor protocol config
138+ func WithLocalTxMonitorConfig (
139+ cfg localtxmonitor.Config ,
140+ ) ConnectionOptionFunc {
141+ return func (c * Connection ) {
142+ c .localTxMonitorConfig = & cfg
143+ }
144+ }
145+
136146// WithLocalTxSubmissionConfig specifies LocalTxSubmission protocol config
137147func WithLocalTxSubmissionConfig (
138148 cfg localtxsubmission.Config ,
You can’t perform that action at this time.
0 commit comments