Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BzzService ¶
type BzzService struct {
// contains filtered or unexported fields
}
func NewBzzService ¶
func NewBzzService(cfg *swarmapi.Config) (*BzzService, error)
func (*BzzService) APIs ¶
func (self *BzzService) APIs() []rpc.API
func (*BzzService) Protocols ¶
func (self *BzzService) Protocols() (protos []p2p.Protocol)
func (*BzzService) RegisterPssProtocol ¶
func (self *BzzService) RegisterPssProtocol(psssvc SubService) error
func (*BzzService) Stop ¶
func (self *BzzService) Stop() error
type BzzServiceAPI ¶
type BzzServiceAPI struct {
// contains filtered or unexported fields
}
api to interact with pss protocol TODO: change protocol methods so we only have to use pss api here and remove this structure
func (*BzzServiceAPI) AddPeer ¶
func (self *BzzServiceAPI) AddPeer(topic pss.Topic, pubKey hexutil.Bytes, addr pss.PssAddress) error
func (*BzzServiceAPI) RemovePeer ¶
type NoopBalance ¶
type NoopBalance bool
Click to show internal directories.
Click to hide internal directories.