Security and Communication Networks / 2018 / Article / Alg 1

Research Article

A Secure Incentive Scheme for Vehicular Delay Tolerant Networks Using Cryptocurrency

Algorithm 1

Locking script of for giving incentives.
scriptPubKey: OP_IF
2 < > < > 2 OP_CHECKMULTISIG
OP_ELSE
< time-lock > OP_CHECKSEQUENCEVERIFY OP_DROP
< > OP_CHECKSIGVERIFY
OP_ENDIF