forked from bitcoin-core/btcdeb
-
Notifications
You must be signed in to change notification settings - Fork 1
/
functions.h
33 lines (27 loc) · 804 Bytes
/
functions.h
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
#ifndef included_btcdeb_functions_h_
#define included_btcdeb_functions_h_
#include <vector>
#include <debugger/interpreter.h>
#include <instance.h>
extern "C" {
#include <kerl/kerl.h>
}
extern InterpreterEnv* env;
extern Instance instance;
extern int count;
extern char** script_lines;
int fn_step(const char*);
int fn_rewind(const char*);
int fn_exec(const char*);
int fn_stack(const char*);
int fn_altstack(const char*);
int fn_vfexec(const char*);
int fn_print(const char*);
int fn_tf(const char*);
char* compl_exec(const char*, int);
char* compl_tf(const char*, int);
int print_stack(std::vector<valtype>&, bool raw = false);
int print_bool_stack(std::vector<valtype>&);
int print_tce(TaprootCommitmentEnv* tce, bool raw = false);
void print_dualstack();
#endif // included_btcdeb_functions_h_