The core protocol of WoopChain
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
woop/api/service/staking/service.go

26 lines
513 B

6 years ago
package staking
import (
"github.com/harmony-benchmark/log"
"github.com/harmony-one/harmony/p2p"
)
// Service is the struct for staking service.
type Service struct {
Host p2p.Host
}
//StartService starts the staking service.
func (s *Service) StartService() {
log.Info("Starting staking service.")
}
func (s *Service) createStakingTransaction() {
//creates staking transaction.
}
// StopService shutdowns staking service.
func (s *Service) StopService() {
log.Info("Shutting down staking service.")
}