Hush Full Node software. We were censored from Github, this is where all development happens now.
https://hush.is
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
875 B
875 B
MigrateCoin protocol
ExportCoins tx:
vin:
[ any ]
vout:
- amount: {burnAmount}
script: OP_RETURN "send to ledger {id} {voutsHash}"
- ExportCoin is a standard tx which burns coins in an OP_RETURN
ImportCoins tx:
vin:
- txid: 0000000000000000000000000000000000000000000000000000000000000000
idx: 0
script: CC_EVAL(EVAL_IMPORTCOINS, {momoProof},{exportCoin}) OP_CHECKCRYPTOCONDITION_UNILATERAL
vout:
- [ vouts matching voutsHash in exportCoin ]
-
ImportCoin transaction has no signature
-
ImportCoin is non malleable
-
ImportCoin satisfies tx.IsCoinBase()
-
ImportCoin uses a new opcode which allows a one sided check (no scriptPubKey)
-
ImportCoin must contain CC opcode EVAL_IMPORTCOINS
-
ImportCoin fees are equal to the difference between burnAmount in exportCoins and the sum of outputs.