/// create a new revocation transaction.
create a new revocation transaction.
create a new revocation transaction .
pub fn new(id: ChainId) -> Transaction {
        let mut transaction = Transaction::default();
        let view: &mut Self = transaction.view_mut();
        view.type_id = (TransactionType::Revocation as u64).into();
        view.id = id;
        transaction
    }
pub fn new ( id : ChainId ) -> Transaction { let mut transaction = Transaction :: default ( ) ; let view : & mut Self = transaction . view_mut ( ) ; view . type_id = ( TransactionType :: Revocation as u64 ) . into ( ) ; view . id = id ; transaction }
create a new revocation transaction.
create a new revocation transaction .
id
ChainId