/// Get a pointer to the consensus constants
Get a pointer to the consensus constants
Get a pointer to the consensus constants
pub fn consensus_constants(&self, height: u64) -> &ConsensusConstants {
        let mut constants = &self.inner.consensus_constants[0];
        for c in self.inner.consensus_constants.iter() {
            if c.effective_from_height() > height {
                break;
            }
            constants = &c
        }
        constants
    }
pub fn consensus_constants ( & self , height : u64 ) -> & ConsensusConstants { let mut constants = & self . inner . consensus_constants [ 0 ] ; for c in self . inner . consensus_constants . iter ( ) { if c . effective_from_height ( ) > height { break ; } constants = & c } constants }
Get a pointer to the consensus constants
Get a pointer to the consensus constants
&self
height
u64