Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface { Start() StopAndJoin() GetRoot(addr common.Address) (merkletree.Hash, error) SetRoot(hash merkletree.Hash) }
type ServiceImpl ¶
type ServiceImpl struct {
// contains filtered or unexported fields
}
func New ¶
func New(rootcommits *eth.Contract) *ServiceImpl
func (*ServiceImpl) GetRoot ¶
func (s *ServiceImpl) GetRoot(addr common.Address) (merkletree.Hash, error)
func (*ServiceImpl) SetRoot ¶
func (s *ServiceImpl) SetRoot(hash merkletree.Hash)
func (*ServiceImpl) Start ¶
func (s *ServiceImpl) Start()
func (*ServiceImpl) StopAndJoin ¶
func (s *ServiceImpl) StopAndJoin()
Click to show internal directories.
Click to hide internal directories.