Proof-of-concept implementation of ASN.1 mapping #62

Open
uwiger wants to merge 11 commits from uw-asn1 into master
Showing only changes of commit faa20bd00b - Show all commits
+10 -2
View File
@@ -100,6 +100,7 @@ tag(ac_deposit_tx) -> 94;
tag(ac_update_cops_tx) -> 95; tag(ac_update_cops_tx) -> 95;
tag(ac_rollup_tx) -> 96; tag(ac_rollup_tx) -> 96;
tag(ac_proposal_tx) -> 97; tag(ac_proposal_tx) -> 97;
tag(ac_receipt) -> 98;
tag(key_block) -> 100; tag(key_block) -> 100;
tag(micro_block) -> 101; tag(micro_block) -> 101;
tag(light_micro_block) -> 102; tag(light_micro_block) -> 102;
@@ -121,7 +122,10 @@ tag(account_sig_store) -> 146;
tag(auth_tx) -> 147; tag(auth_tx) -> 147;
tag(proposal_gossip_tx) -> 148; tag(proposal_gossip_tx) -> 148;
tag(account_auth_update_tx) -> 149; tag(account_auth_update_tx) -> 149;
tag(pof) -> 200. tag(pof) -> 200;
%% Gajumaru AC side transactions
tag(ac_side_withdraw_tx) -> 300;
tag(ac_side_rollup_tx) -> 301.
rev_tag(10) -> account; rev_tag(10) -> account;
rev_tag(11) -> signed_tx; rev_tag(11) -> signed_tx;
@@ -185,6 +189,7 @@ rev_tag(94) -> ac_deposit_tx;
rev_tag(95) -> ac_update_cops_tx; rev_tag(95) -> ac_update_cops_tx;
rev_tag(96) -> ac_rollup_tx; rev_tag(96) -> ac_rollup_tx;
rev_tag(97) -> ac_proposal_tx; rev_tag(97) -> ac_proposal_tx;
rev_tag(98) -> ac_receipt;
rev_tag(100) -> key_block; rev_tag(100) -> key_block;
rev_tag(101) -> micro_block; rev_tag(101) -> micro_block;
rev_tag(102) -> light_micro_block; rev_tag(102) -> light_micro_block;
@@ -206,4 +211,7 @@ rev_tag(146) -> account_sig_store;
rev_tag(147) -> auth_tx; rev_tag(147) -> auth_tx;
rev_tag(148) -> proposal_gossip_tx; rev_tag(148) -> proposal_gossip_tx;
rev_tag(149) -> account_auth_update_tx; rev_tag(149) -> account_auth_update_tx;
rev_tag(200) -> pof. rev_tag(200) -> pof;
%% Gajumaru AC side transactions
rev_tag(300) -> ac_side_withdraw_tx;
rev_tag(301) -> ac_side_rollup_tx.