2018-09-23 22:13:44 -07:00
|
|
|
[workspace]
|
|
|
|
members = [
|
2021-09-30 14:26:17 -07:00
|
|
|
"accountsdb-plugin-interface",
|
|
|
|
"accountsdb-plugin-manager",
|
|
|
|
"accountsdb-plugin-postgres",
|
2021-02-25 19:51:46 -08:00
|
|
|
"accounts-cluster-bench",
|
2018-12-13 21:11:09 -08:00
|
|
|
"bench-streamer",
|
|
|
|
"bench-tps",
|
2020-03-17 11:02:07 -07:00
|
|
|
"accounts-bench",
|
2019-11-12 21:20:48 -08:00
|
|
|
"banking-bench",
|
2020-08-07 07:45:17 -07:00
|
|
|
"banks-client",
|
|
|
|
"banks-interface",
|
|
|
|
"banks-server",
|
2021-09-17 13:11:27 -07:00
|
|
|
"bucket_map",
|
2020-05-30 10:26:26 -07:00
|
|
|
"clap-utils",
|
2020-01-31 18:27:37 -08:00
|
|
|
"cli-config",
|
2020-09-22 17:29:11 -07:00
|
|
|
"cli-output",
|
2019-05-06 21:40:54 -07:00
|
|
|
"client",
|
|
|
|
"core",
|
2020-03-20 12:55:38 -07:00
|
|
|
"dos",
|
2020-03-07 07:08:01 -08:00
|
|
|
"download-utils",
|
2021-07-14 05:16:29 -07:00
|
|
|
"entry",
|
2019-12-16 13:05:17 -08:00
|
|
|
"faucet",
|
2020-10-19 21:07:46 -07:00
|
|
|
"frozen-abi",
|
2019-11-04 20:13:43 -08:00
|
|
|
"perf",
|
2019-05-23 15:06:01 -07:00
|
|
|
"validator",
|
2018-12-13 21:11:09 -08:00
|
|
|
"genesis",
|
2021-05-24 07:45:36 -07:00
|
|
|
"genesis-utils",
|
2019-04-01 16:12:30 -07:00
|
|
|
"gossip",
|
2019-03-13 15:31:05 -07:00
|
|
|
"install",
|
2018-12-12 13:30:00 -08:00
|
|
|
"keygen",
|
2019-10-18 09:28:51 -07:00
|
|
|
"ledger",
|
2018-12-13 21:11:09 -08:00
|
|
|
"ledger-tool",
|
2019-11-12 21:20:48 -08:00
|
|
|
"local-cluster",
|
2018-12-14 12:36:50 -08:00
|
|
|
"logger",
|
2019-10-31 18:22:57 -07:00
|
|
|
"log-analyzer",
|
2021-01-22 07:21:50 -08:00
|
|
|
"merkle-root-bench",
|
2019-06-21 10:22:21 -07:00
|
|
|
"merkle-tree",
|
2020-07-17 13:25:28 -07:00
|
|
|
"storage-bigtable",
|
2020-10-15 17:04:10 -07:00
|
|
|
"storage-proto",
|
2020-03-17 23:30:23 -07:00
|
|
|
"streamer",
|
2019-06-29 06:34:49 -07:00
|
|
|
"measure",
|
2018-11-16 08:45:59 -08:00
|
|
|
"metrics",
|
2019-11-13 13:59:55 -08:00
|
|
|
"net-shaper",
|
2020-05-14 17:32:08 -07:00
|
|
|
"notifier",
|
2021-06-04 08:23:06 -07:00
|
|
|
"poh",
|
2020-06-24 15:51:52 -07:00
|
|
|
"poh-bench",
|
2020-10-31 00:42:21 -07:00
|
|
|
"program-test",
|
2021-12-10 13:02:16 -08:00
|
|
|
"programs/address-lookup-table",
|
|
|
|
"programs/address-lookup-table-tests",
|
2019-11-20 16:32:19 -08:00
|
|
|
"programs/bpf_loader",
|
2021-12-14 11:27:54 -08:00
|
|
|
"programs/bpf_loader/gen-syscall-list",
|
2021-07-16 00:31:22 -07:00
|
|
|
"programs/compute-budget",
|
2019-11-20 10:12:43 -08:00
|
|
|
"programs/config",
|
|
|
|
"programs/stake",
|
|
|
|
"programs/vote",
|
2021-05-28 04:28:30 -07:00
|
|
|
"rbpf-cli",
|
2020-02-07 10:26:56 -08:00
|
|
|
"remote-wallet",
|
2021-06-04 08:23:06 -07:00
|
|
|
"rpc",
|
2019-05-06 21:40:54 -07:00
|
|
|
"runtime",
|
2020-11-01 09:41:28 -08:00
|
|
|
"runtime/store-tool",
|
2018-12-04 18:09:01 -08:00
|
|
|
"sdk",
|
2020-10-20 17:50:20 -07:00
|
|
|
"sdk/cargo-build-bpf",
|
2020-11-04 18:29:26 -08:00
|
|
|
"sdk/cargo-test-bpf",
|
2021-08-23 15:32:15 -07:00
|
|
|
"send-transaction-service",
|
2020-03-30 15:04:46 -07:00
|
|
|
"stake-accounts",
|
2019-12-02 16:46:46 -08:00
|
|
|
"sys-tuner",
|
Add solana-tokens (#10011)
* Initial commit
* Execute transfers
* Refactor for testing
* Cleanup readme
* Rewrite
* Cleanup
* Cleanup
* Cleanup client
* Use a Null Client to move prints closer to where messages are sent
* Upgrade Solana
* Move core functionality into its own module
* Handle transaction errors
* Merge allocations
* Fixes
* Cleanup readme
* Fix markdown
* Add example input
* Add integration test - currently fails
* Add integration test
* Add metrics
* Use RpcClient in dry-run, just don't send messages
* More metrics
* Fix dry run with no keys
* Only require one approval if fee-payer is the sender keypair
* Fix bugs
* Don't create the transaction log if nothing to put into it;
otherwise the next innvocation won't add the header
* Apply previous transactions to allocations with matching recipients
* Bail out of any account already has a balance
* Polish
* Add new 'balances' command
* 9 decimal places
* Add missing file
* Better dry-run; keypair options now optional
* Change field name from 'bid' to 'accepted'
Also, tolerate precision change from 2 decimal places to 4
* Write to transaction log immediately
* Rename allocations_csv to bids_csv
So that we can bypass bids_csv with an allocations CSV file
* Upgrade Solana
* Remove faucet from integration test
* Cleaner integration test
Won't work until this lands and is released:
https://github.com/solana-labs/solana/pull/9717
* Update README
* Add TravicCI script to build and test (#1)
* Add distribute-stake command (#2)
* Distribute -> DistributeTokens (#3)
* Cache cargo deps (#4)
* Add docs (#5)
* Switch to latest Solana 1.1 release (#7)
* distribute -> distribute-tokens (#9)
* Switch from CSV to a pickledb database (#8)
* Switch from CSV to a pickledb database
* Allow PickleDb errors to bubble up
* Dedup
* Hoist db
* Add finalized field to TransactionInfo
* Don't allow RPC client to resign transactions
* Remove dead code
* Use transport::Result
* Record unconfirmed transaction
* Fix: separate stake account per allocation
* Catch transport errors
* Panic if we attempt to replay a transaction that hasn't been finalized
* Attempt to fix CI
PickleDb isn't calling flush() or close() after writing to files.
No issue on MacOS, but looks racy in CI.
* Revert "Attempt to fix CI"
This reverts commit 1632394f636c54402b3578120e8817dd1660e19b.
* Poll for signature before returning
* Add --sol-for-fees option for stake distributions
* Add --allocations-csv option (#14)
* Add allocations-csv option
* Add tests or GTFO
* Apply review feedback
* apply feedback
* Add read_allocations function
* Update arg_parser.rs
* Fix balances command (#17)
* Fix balances command
* Fix readme
* Add --force to transfer to non-empty accounts (#18)
* Add --no-wait (#16)
* Add ThinClient methods to implement --no-wait
* Plumb --no-wait through
No tests yet
* Check transaction status on startup
* Easier to test
* Wait until transaction is finalized before checking if it failed with an error
It's possible that a minority fork thinks it failed.
* Add unit tests
* Remove dead code and rustfmt
* Don't flush database to file if doing a dry-run
* Continue when transactions not yet finalized (#20)
If those transactions are dropped, the next run will execute them.
* Return the number of confirmations (#21)
* Add read_allocations() unit-test (#22)
Delete the copy-pasted top-level test.
Fixes #19
* Add a CSV printer (#23)
* Remove all the copypasta (#24)
* Move resolve_distribute_stake_args into its own function
* Add stake args to token args
* Unify option names
* Move Command::DistributeStake into DistributeTokens
* Remove process_distribute_stake
* Only unique signers
* Use sender keypair to fund new fee-payer accounts
* Unify distribute_tokens and distribute_stake
* Rename print-database command to transaction-log (#25)
* Send all transactions as quickly as possible, then wait (#26)
* Send all transactions as quickly as possible, then wait
* Exit when finalized or blockhashes have expired
* Don't need blockhash in the CSV output
* Better types
CSV library was choking on Pubkey as a type. PickleDb doesn't have that problem.
* Resend if blockhash has not expired
* Attempt to fix CI
* Move log to stderr
* Add constructor, tuck away client (#30)
* Add constructor, tuck away client
* Fix unwrap() caught by CI
* Fix optional option flagged as required
* Bunch of cleanup (#31)
* Remove untested --no-wait feature
* Make --transactions-db an option, not an arg
So that in the future, we can make it optional
* Remove more untested features
Too many false positives in that santity check. Use --dry-run
instead.
* Add dry-run mode to ThinClient
* Cleaner dry-run
* Make key parameters required
Just don't use them in --dry-run
* Add option to write the transaction log
--dry-run doesn't write to the database. Use this option if you
want a copy of the transaction log before the final run.
* Revert --transaction-log addition
Implement #27 first
* Fix CI
* Update readme
* Fix CI in copypasta
* Sort transaction log by finalized date (#33)
* Make --transaction-db option implicit (#34)
* Move db functionality into its own module (#35)
* Move db functionality into its own module
* Rename tokens module to commands
* Version bump
* Upgrade Solana
* Add solana-tokens to build
* Remove Cargo.lock
* Remove vscode file
* Remove TravisCI build script
* Install solana-tokens
Co-authored-by: Dan Albert <dan@solana.com>
2020-05-13 07:36:30 -07:00
|
|
|
"tokens",
|
2021-10-29 12:57:32 -07:00
|
|
|
"transaction-dos",
|
2020-03-26 13:29:30 -07:00
|
|
|
"transaction-status",
|
2020-06-30 21:55:11 -07:00
|
|
|
"account-decoder",
|
2018-12-12 14:28:36 -08:00
|
|
|
"upload-perf",
|
2019-11-12 12:37:13 -08:00
|
|
|
"net-utils",
|
2020-05-11 15:02:01 -07:00
|
|
|
"version",
|
2019-08-22 13:51:16 -07:00
|
|
|
"cli",
|
2019-09-12 11:39:39 -07:00
|
|
|
"rayon-threadlimit",
|
2019-12-11 16:05:10 -08:00
|
|
|
"watchtower",
|
2021-07-28 09:31:43 -07:00
|
|
|
"replica-node",
|
2021-09-01 14:10:16 -07:00
|
|
|
"replica-lib",
|
2021-10-28 18:27:07 -07:00
|
|
|
"test-validator",
|
|
|
|
"rpc-test",
|
|
|
|
"client-test",
|
2022-01-04 20:44:07 -08:00
|
|
|
"zk-token-sdk",
|
|
|
|
"programs/zk-token-proof",
|
2018-09-23 22:13:44 -07:00
|
|
|
]
|
2019-09-19 20:50:34 -07:00
|
|
|
|
2019-07-22 12:01:52 -07:00
|
|
|
exclude = [
|
2019-09-11 14:55:58 -07:00
|
|
|
"programs/bpf",
|
2019-07-22 12:01:52 -07:00
|
|
|
]
|