Exemple #1
0
        public void TestFirstHash160TransactionVerifySignature()
        {
            Block block; Transaction tx; IDictionary <UInt256, Transaction> txLookup;

            BlockHelperTestData.GetFirstHash160Transaction(provider, out block, out tx, out txLookup);

            TestTransactionVerifySignature(BlockHelperTestData.TX_0_HASH160_HASH_TYPES, BlockHelperTestData.TX_0_HASH160_SIGNATURES, BlockHelperTestData.TX_0_HASH160_SIGNATURE_HASHES, BlockHelperTestData.TX_0_HASH160_X, BlockHelperTestData.TX_0_HASH160_Y, BlockHelperTestData.TX_0_HASH160_R, BlockHelperTestData.TX_0_HASH160_S, tx, txLookup);
        }
Exemple #2
0
        public void TestFirstTransactionSignature()
        {
            Block block; Transaction tx; IDictionary <UInt256, Transaction> txLookup;

            BlockHelperTestData.GetFirstTransaction(provider, out block, out tx, out txLookup);

            TestTransactionSignature(BlockHelperTestData.TX_0_SIGNATURES, tx, txLookup);
        }
Exemple #3
0
        public void TestFirstMultiInputTransactionVerifySignature()
        {
            Block block; Transaction tx; IDictionary <UInt256, Transaction> txLookup;

            BlockHelperTestData.GetFirstMultiInputTransaction(provider, out block, out tx, out txLookup);

            TestTransactionVerifySignature(BlockHelperTestData.TX_0_MULTI_INPUT_HASH_TYPES, BlockHelperTestData.TX_0_MULTI_INPUT_SIGNATURES, BlockHelperTestData.TX_0_MULTI_INPUT_SIGNATURE_HASHES, BlockHelperTestData.TX_0_MULTI_INPUT_X, BlockHelperTestData.TX_0_MULTI_INPUT_Y, BlockHelperTestData.TX_0_MULTI_INPUT_R, BlockHelperTestData.TX_0_MULTI_INPUT_S, tx, txLookup);
        }
Exemple #4
0
        public void TestFirstHash160TransactionVerifyScript()
        {
            Block block; Transaction tx; IDictionary <UInt256, Transaction> txLookup;

            BlockHelperTestData.GetFirstHash160Transaction(provider, out block, out tx, out txLookup);

            TestTransactionVerifyScript(tx, txLookup);
        }