-
Notifications
You must be signed in to change notification settings - Fork 0
/
consensus.go
482 lines (371 loc) · 23.1 KB
/
consensus.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
/* ----------------------------------------------------------------------------
* 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
}