MCPcopy Create free account
hub / github.com/SmartPool/smartpool-client / CanRegister

Method CanRegister

interfaces.go:67–67  ·  view source on GitHub ↗

CanRegister returns true when the miner's address can actually register to the pool. It returns false when the contract side decided to refuse the address.

()

Source from the content-addressed store, hash-verified

65 // to the pool. It returns false when the contract side decided to refuse
66 // the address.
67 CanRegister() bool
68 // Register takes an address and register it to the pool.
69 Register(paymentAddress common.Address) error
70 // SubmitClaim takes some necessary parameters that represent a claim and

Callers 1

RegisterMethod · 0.65

Implementers 3

testContractprotocol/test_contract.go
Contractethereum/contract.go
TestPoolSessionethereum/geth/generated_test_pool.go

Calls

no outgoing calls

Tested by

no test coverage detected