solana-program-library/stake-pool/cli
Jon Cinque d815ba9b8e
stake-pool: Add borsh support and specify size on creation (#1505)
* lending: Update JS tests to solana-test-validator

* Add solana tools install

* Fix oopsie on the path

* Move where deployed programs go

* stake-pool: Add borsh support and size on creation

We can't specify the size in the instruction unfortunately, since we'd
only have 10kb max for the validator list. At roughly 50 bytes per
validator, that only gives us 200 validators.

On the flip side, using Borsh means we can allow the validator stake list
to be any size!

* Add AccountType enum

* Remove V1 everywhere

* Add max validators as parameter and get_instance_packed_len

* Add test for adding too many validators

* Clippy
2021-03-27 13:42:29 +01:00
..
src stake-pool: Add borsh support and specify size on creation (#1505) 2021-03-27 13:42:29 +01:00
Cargo.toml stake-pool: Add borsh support and specify size on creation (#1505) 2021-03-27 13:42:29 +01:00
README.md Token stake pool (#493) 2020-10-16 19:38:12 +02:00

README.md

SPL Stake Pool program command-line utility

A basic command-line for creating and using SPL Stake Pools. See https://spl.solana.com/stake-pool for more details