chainlock.go 438 B

1234567891011121314151617181920
  1. package common
  2. import (
  3. "github.com/certusone/wormhole/node/pkg/vaa"
  4. "time"
  5. "github.com/ethereum/go-ethereum/common"
  6. )
  7. type MessagePublication struct {
  8. TxHash common.Hash // TODO: rename to identifier? on Solana, this isn't actually the tx hash
  9. Timestamp time.Time
  10. Nonce uint32
  11. Sequence uint64
  12. ConsistencyLevel uint8
  13. EmitterChain vaa.ChainID
  14. EmitterAddress vaa.Address
  15. Payload []byte
  16. }