Class LockTime.HeightLock

java.lang.Object
org.bitcoinj.core.LockTime
org.bitcoinj.core.LockTime.HeightLock
Enclosing class:
LockTime

public static final class LockTime.HeightLock extends LockTime
A LockTime instance that contains a block height. Can also be zero to represent no-lock.
  • Method Details

    • blockHeight

      public int blockHeight()
      Returns:
      block height as an int