git.gammaspectra.live/P2Pool/consensus@v0.0.0-20240403173234-a039820b20c9/monero/address/interface.go (about)

     1  package address
     2  
     3  import (
     4  	"git.gammaspectra.live/P2Pool/consensus/monero/crypto"
     5  )
     6  
     7  type Interface interface {
     8  	Compare(b Interface) int
     9  
    10  	PublicKeys() (spend, view crypto.PublicKey)
    11  
    12  	SpendPublicKey() *crypto.PublicKeyBytes
    13  	ViewPublicKey() *crypto.PublicKeyBytes
    14  
    15  	ToAddress(network uint8, err ...error) *Address
    16  	ToPackedAddress() PackedAddress
    17  }