StoredBlock function ( Block arg0 ) { BigInteger loc0 = this . chainWork . add ( arg0 . getWork ( ) ) ; int loc1 = this . height + 1 ; return new StoredBlock ( arg0 , loc0 , loc1 ) ; }
creates a new storedblock , calculating the additional fields by adding to the values in this block . concode_field_sep int COMPACT_SERIALIZED_SIZE concode_elem_sep BigInteger chainWork concode_elem_sep int CHAIN_WORK_BYTES concode_elem_sep Block header concode_elem_sep long serialVersionUID concode_elem_sep byte[] EMPTY_BYTES concode_elem_sep int height concode_field_sep int getHeight concode_elem_sep BigInteger getChainWork concode_elem_sep StoredBlock deserializeCompact concode_elem_sep void serializeCompact concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep boolean moreWorkThan concode_elem_sep String toString concode_elem_sep StoredBlock getPrev concode_elem_sep Block getHeader