Discover Packages
github.com/stateless-minds/boxo
exchange
providing
package
Version:
v0.24.3
Opens a new window with list of versions in this module.
Published: Dec 2, 2024
License: Apache-2.0, MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package providing implements an exchange wrapper which
does content providing for new blocks.
Exchange is an exchange wrapper that calls Provide for blocks received
over NotifyNewBlocks.
New creates a new providing Exchange with the given exchange and provider.
This is a light wrapper. We recommend that the provider supports the
handling of many concurrent provides etc. as it is called directly for
every new block.
NotifyNewBlocks calls NotifyNewBlocks on the underlying provider and
provider.Provide for every block after that.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.