Class Bridge

  • All Implemented Interfaces:
    BidKind

    public class Bridge
    extends java.lang.Object
    implements BidKind
    Bridge record pointing to a new `ValidatorBid` after the public key was changed.
    • Constructor Detail

      • Bridge

        public Bridge​(PublicKey oldValidatorPublicKey,
                      PublicKey newValidatorPublicKey,
                      long eraId)
      • Bridge

        public Bridge()
    • Method Detail

      • getOldValidatorPublicKey

        public PublicKey getOldValidatorPublicKey()
        Previous validator public key associated with the bid.
      • getNewValidatorPublicKey

        public PublicKey getNewValidatorPublicKey()
        New validator public key associated with the bid.
      • getEraId

        public long getEraId()
        Era when bridge record was created.
      • setOldValidatorPublicKey

        public void setOldValidatorPublicKey​(PublicKey oldValidatorPublicKey)
        Previous validator public key associated with the bid.
      • setNewValidatorPublicKey

        public void setNewValidatorPublicKey​(PublicKey newValidatorPublicKey)
        New validator public key associated with the bid.
      • setEraId

        public void setEraId​(long eraId)
        Era when bridge record was created.