public void verify ( final int height , final EnumSet < VerifyFlag > flags ) throws VerificationException { verifyHeader ( ) ; verifyTransactions ( height , flags ) ; }
Verifies both the header and that the transactions hash to the merkle root .