mschneider / solcpp

A fast Solana and Mango Markets C++ SDK
Other
40 stars 13 forks source link

Add getLatestBlockhash #23

Closed bdhobare closed 2 years ago

bdhobare commented 2 years ago
mschneider commented 2 years ago

i think it's better to delete the method and let all examples use the new code rather then wasting our time with supporting deprecated apis

bdhobare commented 2 years ago

i think it's better to delete the method and let all examples use the new code rather then wasting our time with supporting deprecated apis

The new method is only available from Solana v1.9+. It might make sense to keep it around and mark it as deprecated for solana v1.8 use cases then remove it in when v2.0 is rolled out, where it will be removed too?

mschneider commented 2 years ago

Ok sounds good