mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-03-30 15:08:33 +00:00

* [NOD-1168] Add context interfaces to flows * [NOD-1168] Move IBD state to protocol manager * [NOD-1168] Move ready peers to protocol manager * [NOD-1168] Add comments * [NOD-1168] Separate context interfaces for send and receive pings * [NOD-1168] Add protocol shared state to FlowContext * [NOD-1168] Fix comment * [NOD-1168] Rename Context->HandleHandshakeContext * [NOD-1168] Initialize readyPeers and transactionsToRebroadcast * [NOD-1168] Rename readyPeers -> peers
9 lines
209 B
Go
9 lines
209 B
Go
package flowcontext
|
|
|
|
import "github.com/kaspanet/kaspad/config"
|
|
|
|
// Config returns an instance of *config.Config associated to the flow context.
|
|
func (f *FlowContext) Config() *config.Config {
|
|
return f.cfg
|
|
}
|