Michael Vines
9410eab2af
Restore --expected-shred-version argument for mainnet-beta
2020-09-16 18:05:41 -07:00
Tyera Eulberg
a79790dea6
Remove client resends ( #12290 )
...
* Remove resends from client send_tx methods
* Retry status queries until blockhash expires
2020-09-16 17:47:55 -06:00
Greg Fitzgerald
3ecb390b10
Fix panic in BanksServer ( #12293 )
...
Fixes #12167
2020-09-16 17:31:58 -06:00
Michael Vines
98cfe92745
Rework snapshot download logic to be more forgiving when ` --expected-shred-version` is not provided
2020-09-16 20:34:02 +00:00
Trent Nelson
32dcce0ac1
RPC: Limit request payload size to 50kB
2020-09-16 20:21:59 +00:00
Justin Starry
f6cda2579f
Fix off-by-one max payload checks
2020-09-16 12:46:06 -07:00
Michael Vines
c231bb7154
Update index.js
2020-09-16 16:42:50 +00:00
Michael Vines
5d682d2e05
Fix 'Description will go into a meta tag in head' meta tag
2020-09-16 16:42:50 +00:00
Michael Vines
c6eea94edc
Remove stale comment
2020-09-16 08:42:26 -07:00
Michael Vines
749208fa32
RPC sendTransaction now returns transaction logs on simulation failure
2020-09-16 08:42:26 -07:00
Ryo Onodera
bb9c04895b
Fix failing window build on master on travis ( #12271 )
...
* Fix failing window build on master on travis
* Fix shellcheck
2020-09-16 17:46:33 +09:00
dependabot[bot]
5517d39dc4
chore:(deps): bump prettier from 2.1.1 to 2.1.2 in /explorer ( #12270 )
...
Bumps [prettier](https://github.com/prettier/prettier ) from 2.1.1 to 2.1.2.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/2.1.1...2.1.2 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-16 08:40:01 +00:00
dependabot[bot]
4516e5ad47
chore:(deps): bump @types/node from 14.10.1 to 14.10.2 in /explorer ( #12269 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 14.10.1 to 14.10.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-16 08:14:25 +00:00
Tyera Eulberg
a48cc073cf
solana-tokens: Add capability to perform the same transfer to a batch of recipients ( #12259 )
...
* Add transfer-amount argument, use simplified input-csv
* Add transfer-amount to readme
2020-09-15 22:53:30 -06:00
Trent Nelson
83f93fed02
CLI: Use Base58 encoding rather than deprecated Binary for TX decode
2020-09-16 04:36:50 +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
sakridge
3930cb865a
Add keccak-secp256k1 instruction ( #11839 )
...
* Implement keccak-secp256k1 instruction
Verifies eth addreses with ecrecover function
* Move secp256k1 test
2020-09-15 18:23:21 -07:00
Michael Vines
7237e7065f
Github issues with 1 year of inactivity are now marked stale, and will be closed 7 days later.
2020-09-15 17:51:06 -07:00
Michael Vines
56282f0c01
`validator-info get/set` no longer crash on invalid account data
2020-09-15 16:59:17 -07:00
Jack May
5ab4109b7e
Add memory allocation support for C programs ( #12254 )
2020-09-15 16:42:20 -07:00
sakridge
3d4b9bb00d
Friendlier error message for mapping failures ( #12213 )
2020-09-15 15:43:17 -07:00
Ryo Onodera
3fc7ea74c4
Clarify RELEASE.md again
2020-09-16 03:45:44 +09:00
Ryo Onodera
96e21e30d5
Update release doc
...
This is something a second timer could bring in... xD
2020-09-16 02:46:36 +09:00
Michael Vines
4ada4d43f2
Drop the recommendation that `--expected-shred-version` be set by validators
...
`--expected-shred-version` is another knob for users to get wrong and is
documentation that can get stale due to cluster restarts. Turns out
it's also generally not required anymore either because:
1. The cluster entrypoint can always be expected to be using the correct
shred version, and that shred version will be adopted by the new node
(earlier this was not the case when the `solana-gossip spy` node on
mainnet-beta.solana.com:8001 ran with shred version 0)
2. On a cluster restart, `--expected-bank-hash` is a much stronger
assertion that the validator is starting from the correct place (and
didn't exist when `--expected-shred-version` was first recommended)
2020-09-15 10:24:20 -07:00
Ryo Onodera
b85e8497b5
Really skip private rpc port reachable checks ( #12239 )
2020-09-15 16:36:15 +00:00
Ryo Onodera
ee3f65d8ef
Clarify some release docs
...
This is something a first-timer can bring in. :)
2020-09-15 07:35:44 -07:00
dependabot[bot]
a60b950d5b
chore: bump @commitlint/travis-cli from 9.1.2 to 11.0.0 in /web3.js ( #12233 )
...
Bumps [@commitlint/travis-cli](https://github.com/conventional-changelog/commitlint ) from 9.1.2 to 11.0.0.
- [Release notes](https://github.com/conventional-changelog/commitlint/releases )
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/conventional-changelog/commitlint/compare/v9.1.2...v11.0.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-15 08:17:26 +00:00
dependabot[bot]
f1c9f3250f
chore:(deps): bump @testing-library/user-event in /explorer ( #12235 )
...
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event ) from 12.1.4 to 12.1.5.
- [Release notes](https://github.com/testing-library/user-event/releases )
- [Changelog](https://github.com/testing-library/user-event/blob/master/CHANGELOG.md )
- [Commits](https://github.com/testing-library/user-event/compare/v12.1.4...v12.1.5 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-15 08:12:43 +00:00
dependabot[bot]
44a88c8156
chore:(deps): bump @types/node from 14.10.0 to 14.10.1 in /explorer ( #12234 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 14.10.0 to 14.10.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-15 08:10:08 +00:00
Ryo Onodera
629572831b
Enable retirement of rent collect in Bank::deposit() on testnet ( #12223 )
2020-09-15 06:49:26 +00:00
Ryo Onodera
241e6f1ecf
Enable stricter check on rent-exempt accounts on testnet ( #12224 )
2020-09-15 06:48:48 +00:00
Ryo Onodera
7d48339b7c
Enable eager-rent-collect-across-gapped-epochs bugfix ( #12219 )
2020-09-15 14:13:40 +09:00
Ryo Onodera
c1e76fd5f7
Fix build breakage ( #12220 )
2020-09-15 13:04:04 +09:00
Michael Vines
c8f03c7f6d
Documenet how to reduce validator port exposure
2020-09-14 20:18:27 -07:00
Michael Vines
daae638781
Add --gossip-validator argument
2020-09-14 20:18:27 -07:00
Michael Vines
63a67f415e
Add --restricted-repair-only-mode flag
2020-09-14 20:18:27 -07:00
Jack May
3278d78f08
Cache re-usable work performed by the loader ( #12135 )
2020-09-14 17:42:37 -07:00
Trent Nelson
af2262cbba
Faucet: Improve error handling
2020-09-14 18:26:52 -06:00
Trent Nelson
f50ed35c6d
net.sh: $extraPrimordialStakes is never empty
2020-09-14 19:27:26 +00:00
dependabot[bot]
a433f3347f
chore: bump @commitlint/config-conventional in /web3.js ( #12205 )
...
Bumps [@commitlint/config-conventional](https://github.com/conventional-changelog/commitlint ) from 9.1.2 to 11.0.0.
- [Release notes](https://github.com/conventional-changelog/commitlint/releases )
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/conventional-changelog/commitlint/compare/v9.1.2...v11.0.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-14 08:32:37 +00:00
dependabot[bot]
5bfb6e60a1
chore:(deps): bump @solana/web3.js from 0.75.0 to 0.75.2 in /explorer ( #12204 )
...
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js ) from 0.75.0 to 0.75.2.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases )
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v0.75.0...v0.75.2 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-14 08:21:28 +00:00
dependabot[bot]
1e08d59ee7
chore:(deps): bump @testing-library/react in /explorer ( #12203 )
...
Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library ) from 11.0.2 to 11.0.4.
- [Release notes](https://github.com/testing-library/react-testing-library/releases )
- [Changelog](https://github.com/testing-library/react-testing-library/blob/master/CHANGELOG.md )
- [Commits](https://github.com/testing-library/react-testing-library/compare/v11.0.2...v11.0.4 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-14 08:21:16 +00:00
Michael Vines
04bb33ad16
Sort the validator identities
2020-09-13 18:17:26 +00:00
Michael Vines
917a6784cf
Correctly identify the Solana boot nodes
2020-09-13 18:17:26 +00:00
behzad nouri
d6ec03f13c
patches default impl for crds filter ( #12199 )
...
In CrdsFilter.mask all bits after mask_bits are set to 1:
https://github.com/solana-labs/solana/blob/555252f4/core/src/crds_gossip_pull.rs#L65
However the default implementation, sets both mask and mask_bits to zero
which is inconsistent with CrdsFilter::compute_mask for a mask_bits of
zero.
This commit changes the default implementation by setting mask to
`!0u64` (i.e all bits set to one). As a result, for the default crds
filter, `test_mask` will always return true, whereas previously it was
always returning false.
https://github.com/solana-labs/solana/blob/555252f4/core/src/crds_gossip_pull.rs#L85
This is only used in tests and benchmarks, but causes some benchmarks to
be misleading by short circuiting in this line:
https://github.com/solana-labs/solana/blob/555252f4/core/src/crds_gossip_pull.rs#L429
2020-09-13 13:08:25 +00:00
Michael Vines
a4cec5c189
chore: remove unnecessary if condition
2020-09-13 07:20:14 +00:00
Michael Vines
a59d305e09
fix: support serialization of partially signed transactions
2020-09-13 07:20:14 +00:00
Justin Starry
4bb6c2fffb
fix: ensure signatures are ordered correctly ( #12165 )
2020-09-13 09:30:51 +08:00
Jack May
555252f435
Make noop a real noop ( #12196 )
...
* Make noop a real noop
* nudge
2020-09-12 01:49:00 +00:00
Jack May
daba17a95c
Nit, short name ( #12195 )
2020-09-12 01:32:38 +00:00