diff --git a/README.md b/README.md index 93d62a69..dff09cf8 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ It consists of both C and Rust code, but everything can be built and tested usin ### Build Instructions -First, make sure you have the [solana tool suite](https://docs.solana.com/cli/install-solana-cli-tools#use-solanas-install-tool) +First, make sure you have the [solana tool suite](https://solana.com/ru/docs/intro/installation#use-solanas-install-tool) installed on your machine. (The build depends on some C makefiles that are in the tool suite.) Make sure you have installed the same solana version that is being used in [CI](.github/workflows/docker.yaml) @@ -156,7 +156,7 @@ Finally, in docker extension inside VS Code click right and choose "Attach VS Co Oracle program upgrades are managed by the Pythian Council multisig. The steps to deploy a new version are: 1. Create a release branch from `main`. This should include the binary for the Pythnet oracle program (`pyth_oracle_pythnet.so`). -2. [Install Solana CLI](https://docs.solana.com/cli/install-solana-cli-tools#use-solanas-install-tool) if not already installed. +2. [Install Solana CLI](https://solana.com/ru/docs/intro/installation#use-solanas-install-tool) if not already installed. 3. Set Solana config for the target network, e.g., devnet: `solana config set --url https://api.devnet.solana.com`. 4. Execute `solana program write-buffer pyth_oracle_pythnet.so` to obtain the buffer address. 5. Run `solana program show ` to obtain the authority of the current program. diff --git a/doc/cpp-batching-upgrade.md b/doc/cpp-batching-upgrade.md index 35a4b557..227700ec 100644 --- a/doc/cpp-batching-upgrade.md +++ b/doc/cpp-batching-upgrade.md @@ -8,6 +8,6 @@ If you are using the [websocket JRPC API](websocket_api.md) to send updates to ` ## C++ Bindings If you are linking against the C++ bindings, you will need to make some changes to your code to support sending batched updates. -Instead of sending individual price updates in response to `price_sched` callbacks, you will now need to call `pc::price::send` with a vector of `pc::price` objects that you wish to publish, in response to `on_slot_publish` callbacks. These will then be batched into transactions. The [`test_publish.cpp`](../pctest/test_publish.cpp) example has been updated to use this new approach. +Instead of sending individual price updates in response to `price_sched` callbacks, you will now need to call `pc::price::send` with a vector of `pc::price` objects that you wish to publish, in response to `on_slot_publish` callbacks. These will then be batched into transactions. The [`test_publish.cpp`](../pctest/test_publish_websocket.cpp) example has been updated to use this new approach. **Important**: this is a breaking change for C++ publishers, so you will need to update your code as described above for `2.10.1` to work.