LiteSVM / litesvm

Apache License 2.0
91 stars 17 forks source link

Add builder pattern for the svm #66

Closed Aursen closed 5 months ago

kevinheavey commented 5 months ago

Now we can't call these methods again after instantiating the LiteSVM struct. For example it's nice to be able to call with_compute_budget() multiple times during tests

Aursen commented 5 months ago

Now we can't call these methods again after instantiating the LiteSVM struct. For example it's nice to be able to call with_compute_budget() multiple times during tests

Let's add a set_compute_budget method, for the rest we don't need it in the svm

kevinheavey commented 5 months ago

with_sigverify and with_blockhash_check are also useful to call multiple times (turning them on and off)