* Native/builtin programs now receive an InvokeContext (cherry picked from commitdf8dab9d2b) * Remove MessageProcessor::loaders (cherry picked from commit2664a1f7ef) * Remove Entrypoint type (cherry picked from commit225bed11c7) * Remove programs clone() (cherry picked from commit33884d847a) * Add sol_log_compute_units syscall (cherry picked from commit66e51a7363) * Add Bank::set_bpf_compute_budget() (cherry picked from commit7d686b72a0) * Rebase Co-authored-by: Michael Vines <mvines@gmail.com>
This commit is contained in:
@@ -133,6 +133,12 @@ void sol_log_(const char *, uint64_t);
|
||||
void sol_log_64_(uint64_t, uint64_t, uint64_t, uint64_t, uint64_t);
|
||||
#define sol_log_64 sol_log_64_
|
||||
|
||||
/**
|
||||
* Prints the current compute unit consumption to stdout
|
||||
*/
|
||||
void sol_log_compute_units_();
|
||||
#define sol_log_compute_units() sol_log_compute_units_()
|
||||
|
||||
/**
|
||||
* Size of Public key in bytes
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user