Tyera Eulberg
9f53f3455a
Revert "Revert "Reformat imports to a consistent style for imports""
...
This reverts commit d7377d4794 .
2021-12-16 19:28:48 -07:00
Trent Nelson
d7377d4794
Revert "Reformat imports to a consistent style for imports"
...
This reverts commit 139d15cd84 .
2021-12-13 12:46:23 -06:00
Michael Vines
139d15cd84
Reformat imports to a consistent style for imports
...
rustfmt.toml configuration:
imports_granularity = "One"
group_imports = "One"
2021-12-03 09:41:09 -08:00
mergify[bot]
0e7512a225
Fix Nightly Clippy Warnings (backport #18065 ) ( #18070 )
...
* chore: cargo +nightly clippy --fix -Z unstable-options
(cherry picked from commit 6514096a67 )
# Conflicts:
# core/src/banking_stage.rs
# core/src/cost_model.rs
# core/src/cost_tracker.rs
# core/src/execute_cost_table.rs
# core/src/replay_stage.rs
# core/src/tvu.rs
# ledger-tool/src/main.rs
# programs/bpf_loader/build.rs
# rbpf-cli/src/main.rs
# sdk/cargo-build-bpf/src/main.rs
# sdk/cargo-test-bpf/src/main.rs
# sdk/src/secp256k1_instruction.rs
* chore: cargo fmt
(cherry picked from commit 789f33e8db )
* Updates BPF program assert_instruction_count tests.
(cherry picked from commit c1e03f3410 )
# Conflicts:
# programs/bpf/tests/programs.rs
* Resolve conflicts
Co-authored-by: Alexander Meißner <AlexanderMeissner@gmx.net >
Co-authored-by: Michael Vines <mvines@gmail.com >
2021-06-18 20:02:48 +00:00
Josh Hundley
ec621e71dc
docs: update old devnet and testnet url references
2021-05-14 16:20:39 -06:00
Trent Nelson
66b4124a68
cli-config: Ovf in ws port calculation
2021-03-12 10:26:15 -07:00
Trent Nelson
7f7370c306
Re-allow clippy::integer_arithmetic at crate-level
2021-02-17 13:55:08 -07:00
Tyera Eulberg
ffa5c7dcc8
Deprecate commitment variants ( #14797 )
...
* Deprecate commitment variants
* Add new CommitmentConfig builders
* Add helpers to avoid allowing deprecated variants
* Remove deprecated transaction-status code
* Include new commitment variants in runtime commitment; allow deprecated as long as old variants persist
* Remove deprecated banks code
* Remove deprecated variants in core; allow deprecated in rpc/rpc-subscriptions for now
* Heavier hand with rpc/rpc-subscription commitment
* Remove deprecated variants from local-cluster
* Remove deprecated variants from various tools
* Remove deprecated variants from validator
* Update docs
* Remove deprecated client code
* Add new variants to cli; remove deprecated variants as possible
* Don't send new commitment variants to old clusters
* Retain deprecated method in test_validator_saves_tower
* Fix clippy matches! suggestion for BPF solana-sdk legacy compile test
* Refactor node version check to handle commitment variants and transaction encoding
* Hide deprecated variants from cli help
* Add cli App comments
2021-01-26 19:23:07 +00:00
Tyera Eulberg
a7086a0f83
Cli: promote commitment to a global arg + config.yml ( #14684 )
...
* Make commitment a global arg
* Add commitment to solana/cli/config.yml
* Fixup a couple Display/Verbose bugs
2021-01-20 09:48:10 -07:00
Tyera Eulberg
10c81a2448
Remove rpc_banks from validator ( #13882 )
...
* Remove rpc_banks from validator
* Bump abi-digest
2020-12-02 03:25:09 +00:00
Michael Vines
e872715fd6
Switch to dirs-next
2020-10-31 18:56:20 +00:00
Greg Fitzgerald
d158d45051
Fix banks RPC port ( #12570 )
...
* Fix Banks RPC ports
* Add get_account_with_commitment
2020-09-30 00:11:49 +00:00
Tyera Eulberg
90a591da0e
Improve solana-tokens UX ( #12253 )
...
* Fix computed banks port
* Readme incorrect
* Return error if csv cannot be read
* Move column headers over columns
* Add dry-run check for sender/fee-payer balances
* Use clap requires method for paired args
* Write transaction-log anytime outfile is specified
* Replace campaign-name with required db-path
* Remove bids
* Exclude new_stake_account_address from logs for non-stake distributions
* Fix readme
2020-09-16 01:38:22 +00:00
Greg Fitzgerald
bad486823c
Add a client for BankForks ( #10728 )
...
Also:
* Use BanksClient in solana-tokens
2020-08-07 08:45:17 -06:00
Michael Vines
b297d0b423
Permit users to assign labels to account addresses
2020-06-18 18:46:49 +00:00
Michael Vines
bcfadd6085
Assume json_rpc_url can be upgrade to a websocket if no port is supplied
2020-04-13 19:42:13 -07:00
Greg Fitzgerald
1c73f3e100
Default to mainnet-beta ( #9326 )
2020-04-06 15:47:37 -06:00
Michael Vines
3ae6e0b8ab
Add solana-stake-monitor program ( #9081 )
2020-03-27 22:55:55 -07:00
Michael Vines
f655372b08
Revert to a computed websocket_url value when json_rpc_url is changed
2020-03-10 15:55:13 -07:00
Michael Vines
756ba07b16
Move cli-config default out of cli/ into cli-config/
2020-03-09 15:43:14 -07:00
Michael Vines
5c236fd06c
Rename 'url' to 'json_rpc_url'
2020-03-09 15:43:14 -07:00
Sunny Gleason
db291234ed
feat: implement websocket_url as a get/set-able global parameter w/ value computation
2020-03-01 01:07:45 -07:00
Tyera Eulberg
fab8ef379f
Use solana-cli config keypair in solana-keygen ( #8074 )
...
* Use solana-cli config keypair in solana-keygen
* s/infile/keypair for consistency across modules and more generality across access methods
* Move config into separate crate
2020-01-31 19:27:37 -07:00