docker-compose-files/hyperledger_fabric/latest/examples/chaincode/go/utxo/consensus/consensus.go

483 lines
23 KiB
Go

/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.8
*
* This file is not intended to be easily readable and contains a number of
* coding conventions designed to improve portability and efficiency. Do not make
* changes to this file unless you know what you are doing--modify the SWIG
* interface file instead.
* ----------------------------------------------------------------------------- */
// source: consensus.swg
package consensus
/*
#define intgo swig_intgo
typedef void *swig_voidp;
#include <stdint.h>
typedef int intgo;
typedef unsigned int uintgo;
typedef struct { char *p; intgo n; } _gostring_;
typedef struct { void* array; intgo len; intgo cap; } _goslice_;
typedef long long swig_type_1;
typedef long long swig_type_2;
extern void _wrap_Swig_free_consensus_0731991c73947514(uintptr_t arg1);
extern swig_intgo _wrap_verify_result_eval_false_consensus_0731991c73947514(void);
extern swig_intgo _wrap_verify_result_eval_true_consensus_0731991c73947514(void);
extern swig_intgo _wrap_verify_result_script_size_consensus_0731991c73947514(void);
extern swig_intgo _wrap_verify_result_push_size_consensus_0731991c73947514(void);
extern swig_intgo _wrap_verify_result_op_count_consensus_0731991c73947514(void);
extern swig_intgo _wrap_verify_result_stack_size_consensus_0731991c73947514(void);
extern swig_intgo _wrap_verify_result_sig_count_consensus_0731991c73947514(void);
extern swig_intgo _wrap_verify_result_pubkey_count_consensus_0731991c73947514(void);
extern swig_intgo _wrap_verify_result_verify_consensus_0731991c73947514(void);
extern swig_intgo _wrap_verify_result_equalverify_consensus_0731991c73947514(void);
extern swig_intgo _wrap_verify_result_checkmultisigverify_consensus_0731991c73947514(void);
extern swig_intgo _wrap_verify_result_checksigverify_consensus_0731991c73947514(void);
extern swig_intgo _wrap_verify_result_numequalverify_consensus_0731991c73947514(void);
extern swig_intgo _wrap_verify_result_bad_opcode_consensus_0731991c73947514(void);
extern swig_intgo _wrap_verify_result_disabled_opcode_consensus_0731991c73947514(void);
extern swig_intgo _wrap_verify_result_invalid_stack_operation_consensus_0731991c73947514(void);
extern swig_intgo _wrap_verify_result_invalid_altstack_operation_consensus_0731991c73947514(void);
extern swig_intgo _wrap_verify_result_unbalanced_conditional_consensus_0731991c73947514(void);
extern swig_intgo _wrap_verify_result_sig_hashtype_consensus_0731991c73947514(void);
extern swig_intgo _wrap_verify_result_sig_der_consensus_0731991c73947514(void);
extern swig_intgo _wrap_verify_result_minimaldata_consensus_0731991c73947514(void);
extern swig_intgo _wrap_verify_result_sig_pushonly_consensus_0731991c73947514(void);
extern swig_intgo _wrap_verify_result_sig_high_s_consensus_0731991c73947514(void);
extern swig_intgo _wrap_verify_result_sig_nulldummy_consensus_0731991c73947514(void);
extern swig_intgo _wrap_verify_result_pubkeytype_consensus_0731991c73947514(void);
extern swig_intgo _wrap_verify_result_cleanstack_consensus_0731991c73947514(void);
extern swig_intgo _wrap_verify_result_discourage_upgradable_nops_consensus_0731991c73947514(void);
extern swig_intgo _wrap_verify_result_op_return_consensus_0731991c73947514(void);
extern swig_intgo _wrap_verify_result_unknown_error_consensus_0731991c73947514(void);
extern swig_intgo _wrap_verify_result_tx_invalid_consensus_0731991c73947514(void);
extern swig_intgo _wrap_verify_result_tx_size_invalid_consensus_0731991c73947514(void);
extern swig_intgo _wrap_verify_result_tx_input_invalid_consensus_0731991c73947514(void);
extern swig_intgo _wrap_verify_result_negative_locktime_consensus_0731991c73947514(void);
extern swig_intgo _wrap_verify_result_unsatisfied_locktime_consensus_0731991c73947514(void);
extern swig_intgo _wrap_verify_flags_none_consensus_0731991c73947514(void);
extern swig_intgo _wrap_verify_flags_p2sh_consensus_0731991c73947514(void);
extern swig_intgo _wrap_verify_flags_strictenc_consensus_0731991c73947514(void);
extern swig_intgo _wrap_verify_flags_dersig_consensus_0731991c73947514(void);
extern swig_intgo _wrap_verify_flags_low_s_consensus_0731991c73947514(void);
extern swig_intgo _wrap_verify_flags_nulldummy_consensus_0731991c73947514(void);
extern swig_intgo _wrap_verify_flags_sigpushonly_consensus_0731991c73947514(void);
extern swig_intgo _wrap_verify_flags_minimaldata_consensus_0731991c73947514(void);
extern swig_intgo _wrap_verify_flags_discourage_upgradable_nops_consensus_0731991c73947514(void);
extern swig_intgo _wrap_verify_flags_cleanstack_consensus_0731991c73947514(void);
extern swig_intgo _wrap_verify_flags_checklocktimeverify_consensus_0731991c73947514(void);
extern swig_intgo _wrap_verify_script_consensus_0731991c73947514(swig_voidp arg1, swig_type_1 arg2, swig_voidp arg3, swig_type_2 arg4, swig_intgo arg5, swig_intgo arg6);
#undef intgo
*/
import "C"
import "unsafe"
import _ "runtime/cgo"
import "sync"
type _ unsafe.Pointer
var Swig_escape_always_false bool
var Swig_escape_val interface{}
type _swig_fnptr *byte
type _swig_memberptr *byte
type _ sync.Mutex
func Swig_free(arg1 uintptr) {
_swig_i_0 := arg1
C._wrap_Swig_free_consensus_0731991c73947514(C.uintptr_t(_swig_i_0))
}
const LIBBITCOIN_CONSENSUS_VERSION string = "2.0.0"
const LIBBITCOIN_CONSENSUS_MAJOR_VERSION int = 2
const LIBBITCOIN_CONSENSUS_MINOR_VERSION int = 0
const LIBBITCOIN_CONSENSUS_PATCH_VERSION int = 0
type LibbitcoinConsensusVerify_result_type int
func _swig_getverify_result_eval_false() (_swig_ret LibbitcoinConsensusVerify_result_type) {
var swig_r LibbitcoinConsensusVerify_result_type
swig_r = (LibbitcoinConsensusVerify_result_type)(C._wrap_verify_result_eval_false_consensus_0731991c73947514())
return swig_r
}
var Verify_result_eval_false LibbitcoinConsensusVerify_result_type = _swig_getverify_result_eval_false()
func _swig_getverify_result_eval_true() (_swig_ret LibbitcoinConsensusVerify_result_type) {
var swig_r LibbitcoinConsensusVerify_result_type
swig_r = (LibbitcoinConsensusVerify_result_type)(C._wrap_verify_result_eval_true_consensus_0731991c73947514())
return swig_r
}
var Verify_result_eval_true LibbitcoinConsensusVerify_result_type = _swig_getverify_result_eval_true()
func _swig_getverify_result_script_size() (_swig_ret LibbitcoinConsensusVerify_result_type) {
var swig_r LibbitcoinConsensusVerify_result_type
swig_r = (LibbitcoinConsensusVerify_result_type)(C._wrap_verify_result_script_size_consensus_0731991c73947514())
return swig_r
}
var Verify_result_script_size LibbitcoinConsensusVerify_result_type = _swig_getverify_result_script_size()
func _swig_getverify_result_push_size() (_swig_ret LibbitcoinConsensusVerify_result_type) {
var swig_r LibbitcoinConsensusVerify_result_type
swig_r = (LibbitcoinConsensusVerify_result_type)(C._wrap_verify_result_push_size_consensus_0731991c73947514())
return swig_r
}
var Verify_result_push_size LibbitcoinConsensusVerify_result_type = _swig_getverify_result_push_size()
func _swig_getverify_result_op_count() (_swig_ret LibbitcoinConsensusVerify_result_type) {
var swig_r LibbitcoinConsensusVerify_result_type
swig_r = (LibbitcoinConsensusVerify_result_type)(C._wrap_verify_result_op_count_consensus_0731991c73947514())
return swig_r
}
var Verify_result_op_count LibbitcoinConsensusVerify_result_type = _swig_getverify_result_op_count()
func _swig_getverify_result_stack_size() (_swig_ret LibbitcoinConsensusVerify_result_type) {
var swig_r LibbitcoinConsensusVerify_result_type
swig_r = (LibbitcoinConsensusVerify_result_type)(C._wrap_verify_result_stack_size_consensus_0731991c73947514())
return swig_r
}
var Verify_result_stack_size LibbitcoinConsensusVerify_result_type = _swig_getverify_result_stack_size()
func _swig_getverify_result_sig_count() (_swig_ret LibbitcoinConsensusVerify_result_type) {
var swig_r LibbitcoinConsensusVerify_result_type
swig_r = (LibbitcoinConsensusVerify_result_type)(C._wrap_verify_result_sig_count_consensus_0731991c73947514())
return swig_r
}
var Verify_result_sig_count LibbitcoinConsensusVerify_result_type = _swig_getverify_result_sig_count()
func _swig_getverify_result_pubkey_count() (_swig_ret LibbitcoinConsensusVerify_result_type) {
var swig_r LibbitcoinConsensusVerify_result_type
swig_r = (LibbitcoinConsensusVerify_result_type)(C._wrap_verify_result_pubkey_count_consensus_0731991c73947514())
return swig_r
}
var Verify_result_pubkey_count LibbitcoinConsensusVerify_result_type = _swig_getverify_result_pubkey_count()
func _swig_getverify_result_verify() (_swig_ret LibbitcoinConsensusVerify_result_type) {
var swig_r LibbitcoinConsensusVerify_result_type
swig_r = (LibbitcoinConsensusVerify_result_type)(C._wrap_verify_result_verify_consensus_0731991c73947514())
return swig_r
}
var Verify_result_verify LibbitcoinConsensusVerify_result_type = _swig_getverify_result_verify()
func _swig_getverify_result_equalverify() (_swig_ret LibbitcoinConsensusVerify_result_type) {
var swig_r LibbitcoinConsensusVerify_result_type
swig_r = (LibbitcoinConsensusVerify_result_type)(C._wrap_verify_result_equalverify_consensus_0731991c73947514())
return swig_r
}
var Verify_result_equalverify LibbitcoinConsensusVerify_result_type = _swig_getverify_result_equalverify()
func _swig_getverify_result_checkmultisigverify() (_swig_ret LibbitcoinConsensusVerify_result_type) {
var swig_r LibbitcoinConsensusVerify_result_type
swig_r = (LibbitcoinConsensusVerify_result_type)(C._wrap_verify_result_checkmultisigverify_consensus_0731991c73947514())
return swig_r
}
var Verify_result_checkmultisigverify LibbitcoinConsensusVerify_result_type = _swig_getverify_result_checkmultisigverify()
func _swig_getverify_result_checksigverify() (_swig_ret LibbitcoinConsensusVerify_result_type) {
var swig_r LibbitcoinConsensusVerify_result_type
swig_r = (LibbitcoinConsensusVerify_result_type)(C._wrap_verify_result_checksigverify_consensus_0731991c73947514())
return swig_r
}
var Verify_result_checksigverify LibbitcoinConsensusVerify_result_type = _swig_getverify_result_checksigverify()
func _swig_getverify_result_numequalverify() (_swig_ret LibbitcoinConsensusVerify_result_type) {
var swig_r LibbitcoinConsensusVerify_result_type
swig_r = (LibbitcoinConsensusVerify_result_type)(C._wrap_verify_result_numequalverify_consensus_0731991c73947514())
return swig_r
}
var Verify_result_numequalverify LibbitcoinConsensusVerify_result_type = _swig_getverify_result_numequalverify()
func _swig_getverify_result_bad_opcode() (_swig_ret LibbitcoinConsensusVerify_result_type) {
var swig_r LibbitcoinConsensusVerify_result_type
swig_r = (LibbitcoinConsensusVerify_result_type)(C._wrap_verify_result_bad_opcode_consensus_0731991c73947514())
return swig_r
}
var Verify_result_bad_opcode LibbitcoinConsensusVerify_result_type = _swig_getverify_result_bad_opcode()
func _swig_getverify_result_disabled_opcode() (_swig_ret LibbitcoinConsensusVerify_result_type) {
var swig_r LibbitcoinConsensusVerify_result_type
swig_r = (LibbitcoinConsensusVerify_result_type)(C._wrap_verify_result_disabled_opcode_consensus_0731991c73947514())
return swig_r
}
var Verify_result_disabled_opcode LibbitcoinConsensusVerify_result_type = _swig_getverify_result_disabled_opcode()
func _swig_getverify_result_invalid_stack_operation() (_swig_ret LibbitcoinConsensusVerify_result_type) {
var swig_r LibbitcoinConsensusVerify_result_type
swig_r = (LibbitcoinConsensusVerify_result_type)(C._wrap_verify_result_invalid_stack_operation_consensus_0731991c73947514())
return swig_r
}
var Verify_result_invalid_stack_operation LibbitcoinConsensusVerify_result_type = _swig_getverify_result_invalid_stack_operation()
func _swig_getverify_result_invalid_altstack_operation() (_swig_ret LibbitcoinConsensusVerify_result_type) {
var swig_r LibbitcoinConsensusVerify_result_type
swig_r = (LibbitcoinConsensusVerify_result_type)(C._wrap_verify_result_invalid_altstack_operation_consensus_0731991c73947514())
return swig_r
}
var Verify_result_invalid_altstack_operation LibbitcoinConsensusVerify_result_type = _swig_getverify_result_invalid_altstack_operation()
func _swig_getverify_result_unbalanced_conditional() (_swig_ret LibbitcoinConsensusVerify_result_type) {
var swig_r LibbitcoinConsensusVerify_result_type
swig_r = (LibbitcoinConsensusVerify_result_type)(C._wrap_verify_result_unbalanced_conditional_consensus_0731991c73947514())
return swig_r
}
var Verify_result_unbalanced_conditional LibbitcoinConsensusVerify_result_type = _swig_getverify_result_unbalanced_conditional()
func _swig_getverify_result_sig_hashtype() (_swig_ret LibbitcoinConsensusVerify_result_type) {
var swig_r LibbitcoinConsensusVerify_result_type
swig_r = (LibbitcoinConsensusVerify_result_type)(C._wrap_verify_result_sig_hashtype_consensus_0731991c73947514())
return swig_r
}
var Verify_result_sig_hashtype LibbitcoinConsensusVerify_result_type = _swig_getverify_result_sig_hashtype()
func _swig_getverify_result_sig_der() (_swig_ret LibbitcoinConsensusVerify_result_type) {
var swig_r LibbitcoinConsensusVerify_result_type
swig_r = (LibbitcoinConsensusVerify_result_type)(C._wrap_verify_result_sig_der_consensus_0731991c73947514())
return swig_r
}
var Verify_result_sig_der LibbitcoinConsensusVerify_result_type = _swig_getverify_result_sig_der()
func _swig_getverify_result_minimaldata() (_swig_ret LibbitcoinConsensusVerify_result_type) {
var swig_r LibbitcoinConsensusVerify_result_type
swig_r = (LibbitcoinConsensusVerify_result_type)(C._wrap_verify_result_minimaldata_consensus_0731991c73947514())
return swig_r
}
var Verify_result_minimaldata LibbitcoinConsensusVerify_result_type = _swig_getverify_result_minimaldata()
func _swig_getverify_result_sig_pushonly() (_swig_ret LibbitcoinConsensusVerify_result_type) {
var swig_r LibbitcoinConsensusVerify_result_type
swig_r = (LibbitcoinConsensusVerify_result_type)(C._wrap_verify_result_sig_pushonly_consensus_0731991c73947514())
return swig_r
}
var Verify_result_sig_pushonly LibbitcoinConsensusVerify_result_type = _swig_getverify_result_sig_pushonly()
func _swig_getverify_result_sig_high_s() (_swig_ret LibbitcoinConsensusVerify_result_type) {
var swig_r LibbitcoinConsensusVerify_result_type
swig_r = (LibbitcoinConsensusVerify_result_type)(C._wrap_verify_result_sig_high_s_consensus_0731991c73947514())
return swig_r
}
var Verify_result_sig_high_s LibbitcoinConsensusVerify_result_type = _swig_getverify_result_sig_high_s()
func _swig_getverify_result_sig_nulldummy() (_swig_ret LibbitcoinConsensusVerify_result_type) {
var swig_r LibbitcoinConsensusVerify_result_type
swig_r = (LibbitcoinConsensusVerify_result_type)(C._wrap_verify_result_sig_nulldummy_consensus_0731991c73947514())
return swig_r
}
var Verify_result_sig_nulldummy LibbitcoinConsensusVerify_result_type = _swig_getverify_result_sig_nulldummy()
func _swig_getverify_result_pubkeytype() (_swig_ret LibbitcoinConsensusVerify_result_type) {
var swig_r LibbitcoinConsensusVerify_result_type
swig_r = (LibbitcoinConsensusVerify_result_type)(C._wrap_verify_result_pubkeytype_consensus_0731991c73947514())
return swig_r
}
var Verify_result_pubkeytype LibbitcoinConsensusVerify_result_type = _swig_getverify_result_pubkeytype()
func _swig_getverify_result_cleanstack() (_swig_ret LibbitcoinConsensusVerify_result_type) {
var swig_r LibbitcoinConsensusVerify_result_type
swig_r = (LibbitcoinConsensusVerify_result_type)(C._wrap_verify_result_cleanstack_consensus_0731991c73947514())
return swig_r
}
var Verify_result_cleanstack LibbitcoinConsensusVerify_result_type = _swig_getverify_result_cleanstack()
func _swig_getverify_result_discourage_upgradable_nops() (_swig_ret LibbitcoinConsensusVerify_result_type) {
var swig_r LibbitcoinConsensusVerify_result_type
swig_r = (LibbitcoinConsensusVerify_result_type)(C._wrap_verify_result_discourage_upgradable_nops_consensus_0731991c73947514())
return swig_r
}
var Verify_result_discourage_upgradable_nops LibbitcoinConsensusVerify_result_type = _swig_getverify_result_discourage_upgradable_nops()
func _swig_getverify_result_op_return() (_swig_ret LibbitcoinConsensusVerify_result_type) {
var swig_r LibbitcoinConsensusVerify_result_type
swig_r = (LibbitcoinConsensusVerify_result_type)(C._wrap_verify_result_op_return_consensus_0731991c73947514())
return swig_r
}
var Verify_result_op_return LibbitcoinConsensusVerify_result_type = _swig_getverify_result_op_return()
func _swig_getverify_result_unknown_error() (_swig_ret LibbitcoinConsensusVerify_result_type) {
var swig_r LibbitcoinConsensusVerify_result_type
swig_r = (LibbitcoinConsensusVerify_result_type)(C._wrap_verify_result_unknown_error_consensus_0731991c73947514())
return swig_r
}
var Verify_result_unknown_error LibbitcoinConsensusVerify_result_type = _swig_getverify_result_unknown_error()
func _swig_getverify_result_tx_invalid() (_swig_ret LibbitcoinConsensusVerify_result_type) {
var swig_r LibbitcoinConsensusVerify_result_type
swig_r = (LibbitcoinConsensusVerify_result_type)(C._wrap_verify_result_tx_invalid_consensus_0731991c73947514())
return swig_r
}
var Verify_result_tx_invalid LibbitcoinConsensusVerify_result_type = _swig_getverify_result_tx_invalid()
func _swig_getverify_result_tx_size_invalid() (_swig_ret LibbitcoinConsensusVerify_result_type) {
var swig_r LibbitcoinConsensusVerify_result_type
swig_r = (LibbitcoinConsensusVerify_result_type)(C._wrap_verify_result_tx_size_invalid_consensus_0731991c73947514())
return swig_r
}
var Verify_result_tx_size_invalid LibbitcoinConsensusVerify_result_type = _swig_getverify_result_tx_size_invalid()
func _swig_getverify_result_tx_input_invalid() (_swig_ret LibbitcoinConsensusVerify_result_type) {
var swig_r LibbitcoinConsensusVerify_result_type
swig_r = (LibbitcoinConsensusVerify_result_type)(C._wrap_verify_result_tx_input_invalid_consensus_0731991c73947514())
return swig_r
}
var Verify_result_tx_input_invalid LibbitcoinConsensusVerify_result_type = _swig_getverify_result_tx_input_invalid()
func _swig_getverify_result_negative_locktime() (_swig_ret LibbitcoinConsensusVerify_result_type) {
var swig_r LibbitcoinConsensusVerify_result_type
swig_r = (LibbitcoinConsensusVerify_result_type)(C._wrap_verify_result_negative_locktime_consensus_0731991c73947514())
return swig_r
}
var Verify_result_negative_locktime LibbitcoinConsensusVerify_result_type = _swig_getverify_result_negative_locktime()
func _swig_getverify_result_unsatisfied_locktime() (_swig_ret LibbitcoinConsensusVerify_result_type) {
var swig_r LibbitcoinConsensusVerify_result_type
swig_r = (LibbitcoinConsensusVerify_result_type)(C._wrap_verify_result_unsatisfied_locktime_consensus_0731991c73947514())
return swig_r
}
var Verify_result_unsatisfied_locktime LibbitcoinConsensusVerify_result_type = _swig_getverify_result_unsatisfied_locktime()
type LibbitcoinConsensusVerify_flags_type int
func _swig_getverify_flags_none() (_swig_ret LibbitcoinConsensusVerify_flags_type) {
var swig_r LibbitcoinConsensusVerify_flags_type
swig_r = (LibbitcoinConsensusVerify_flags_type)(C._wrap_verify_flags_none_consensus_0731991c73947514())
return swig_r
}
var Verify_flags_none LibbitcoinConsensusVerify_flags_type = _swig_getverify_flags_none()
func _swig_getverify_flags_p2sh() (_swig_ret LibbitcoinConsensusVerify_flags_type) {
var swig_r LibbitcoinConsensusVerify_flags_type
swig_r = (LibbitcoinConsensusVerify_flags_type)(C._wrap_verify_flags_p2sh_consensus_0731991c73947514())
return swig_r
}
var Verify_flags_p2sh LibbitcoinConsensusVerify_flags_type = _swig_getverify_flags_p2sh()
func _swig_getverify_flags_strictenc() (_swig_ret LibbitcoinConsensusVerify_flags_type) {
var swig_r LibbitcoinConsensusVerify_flags_type
swig_r = (LibbitcoinConsensusVerify_flags_type)(C._wrap_verify_flags_strictenc_consensus_0731991c73947514())
return swig_r
}
var Verify_flags_strictenc LibbitcoinConsensusVerify_flags_type = _swig_getverify_flags_strictenc()
func _swig_getverify_flags_dersig() (_swig_ret LibbitcoinConsensusVerify_flags_type) {
var swig_r LibbitcoinConsensusVerify_flags_type
swig_r = (LibbitcoinConsensusVerify_flags_type)(C._wrap_verify_flags_dersig_consensus_0731991c73947514())
return swig_r
}
var Verify_flags_dersig LibbitcoinConsensusVerify_flags_type = _swig_getverify_flags_dersig()
func _swig_getverify_flags_low_s() (_swig_ret LibbitcoinConsensusVerify_flags_type) {
var swig_r LibbitcoinConsensusVerify_flags_type
swig_r = (LibbitcoinConsensusVerify_flags_type)(C._wrap_verify_flags_low_s_consensus_0731991c73947514())
return swig_r
}
var Verify_flags_low_s LibbitcoinConsensusVerify_flags_type = _swig_getverify_flags_low_s()
func _swig_getverify_flags_nulldummy() (_swig_ret LibbitcoinConsensusVerify_flags_type) {
var swig_r LibbitcoinConsensusVerify_flags_type
swig_r = (LibbitcoinConsensusVerify_flags_type)(C._wrap_verify_flags_nulldummy_consensus_0731991c73947514())
return swig_r
}
var Verify_flags_nulldummy LibbitcoinConsensusVerify_flags_type = _swig_getverify_flags_nulldummy()
func _swig_getverify_flags_sigpushonly() (_swig_ret LibbitcoinConsensusVerify_flags_type) {
var swig_r LibbitcoinConsensusVerify_flags_type
swig_r = (LibbitcoinConsensusVerify_flags_type)(C._wrap_verify_flags_sigpushonly_consensus_0731991c73947514())
return swig_r
}
var Verify_flags_sigpushonly LibbitcoinConsensusVerify_flags_type = _swig_getverify_flags_sigpushonly()
func _swig_getverify_flags_minimaldata() (_swig_ret LibbitcoinConsensusVerify_flags_type) {
var swig_r LibbitcoinConsensusVerify_flags_type
swig_r = (LibbitcoinConsensusVerify_flags_type)(C._wrap_verify_flags_minimaldata_consensus_0731991c73947514())
return swig_r
}
var Verify_flags_minimaldata LibbitcoinConsensusVerify_flags_type = _swig_getverify_flags_minimaldata()
func _swig_getverify_flags_discourage_upgradable_nops() (_swig_ret LibbitcoinConsensusVerify_flags_type) {
var swig_r LibbitcoinConsensusVerify_flags_type
swig_r = (LibbitcoinConsensusVerify_flags_type)(C._wrap_verify_flags_discourage_upgradable_nops_consensus_0731991c73947514())
return swig_r
}
var Verify_flags_discourage_upgradable_nops LibbitcoinConsensusVerify_flags_type = _swig_getverify_flags_discourage_upgradable_nops()
func _swig_getverify_flags_cleanstack() (_swig_ret LibbitcoinConsensusVerify_flags_type) {
var swig_r LibbitcoinConsensusVerify_flags_type
swig_r = (LibbitcoinConsensusVerify_flags_type)(C._wrap_verify_flags_cleanstack_consensus_0731991c73947514())
return swig_r
}
var Verify_flags_cleanstack LibbitcoinConsensusVerify_flags_type = _swig_getverify_flags_cleanstack()
func _swig_getverify_flags_checklocktimeverify() (_swig_ret LibbitcoinConsensusVerify_flags_type) {
var swig_r LibbitcoinConsensusVerify_flags_type
swig_r = (LibbitcoinConsensusVerify_flags_type)(C._wrap_verify_flags_checklocktimeverify_consensus_0731991c73947514())
return swig_r
}
var Verify_flags_checklocktimeverify LibbitcoinConsensusVerify_flags_type = _swig_getverify_flags_checklocktimeverify()
func Verify_script(arg1 *byte, arg2 int64, arg3 *byte, arg4 int64, arg5 uint, arg6 uint) (_swig_ret LibbitcoinConsensusVerify_result_type) {
var swig_r LibbitcoinConsensusVerify_result_type
_swig_i_0 := arg1
_swig_i_1 := arg2
_swig_i_2 := arg3
_swig_i_3 := arg4
_swig_i_4 := arg5
_swig_i_5 := arg6
swig_r = (LibbitcoinConsensusVerify_result_type)(C._wrap_verify_script_consensus_0731991c73947514(C.swig_voidp(_swig_i_0), C.swig_type_1(_swig_i_1), C.swig_voidp(_swig_i_2), C.swig_type_2(_swig_i_3), C.swig_intgo(_swig_i_4), C.swig_intgo(_swig_i_5)))
return swig_r
}