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
564 B

6 years ago
package staking
import (
6 years ago
"github.com/harmony-one/harmony/internal/utils"
6 years ago
"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() {
6 years ago
utils.GetLogInstance().Info("Starting staking service.")
6 years ago
}
func (s *Service) createStakingTransaction() {
//creates staking transaction.
}
// StopService shutdowns staking service.
func (s *Service) StopService() {
6 years ago
utils.GetLogInstance().Info("Shutting down staking service.")
6 years ago
}