Ryo Onodera
c97a7d1105
Small cleaning update_epoch_stakes ( #13576 )
2020-11-13 11:16:38 +00:00
joshua-maros
a8a77614fe
Fix potential undefined behavior ( #13555 )
...
* Switch to ouroboros 0.5.1
* Update other lock files
2020-11-13 18:12:41 +09:00
dependabot[bot]
cbcde43765
chore:(deps): bump @types/react-select in /explorer ( #13574 )
...
Bumps [@types/react-select](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-select ) from 3.0.25 to 3.0.26.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-select )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-13 09:09:33 +00:00
Trent Nelson
6dc735e996
ip-echo-server: Don't use framed decoder, it can't be read-limited
2020-11-13 07:53:19 +00:00
Michael Vines
328f59ebef
--gossip-host may now be specified with --entrypoint
2020-11-13 06:20:15 +00:00
Michael Vines
9f95704706
Add --offline flag
2020-11-12 20:03:12 -08:00
Jack May
48dd9f7efd
Move secp256k1 instruction helper to the sdk ( #13560 )
2020-11-12 16:58:40 -08:00
sakridge
c1f3f9d27b
Stop searching for incorrect shred version after a minute ( #13512 )
2020-11-12 14:01:13 -08:00
sakridge
598e5f58d5
Add wait for max stake command ( #13532 )
2020-11-12 13:48:34 -08:00
Jack May
30ef53cb13
fix bpf lddw check ( #13554 )
2020-11-12 13:13:42 -08:00
behzad nouri
4e4e12b384
filters out offline nodes from pull options ( #13533 )
...
Inactive nodes are still observing incoming gossip traffic:
https://discord.com/channels/428295358100013066/670512312339398668/776140351291260968
likely because of pull-requests.
Previous related issues and commits:
https://github.com/solana-labs/solana/issues/12409
https://github.com/solana-labs/solana/pull/12620
https://github.com/solana-labs/solana/pull/12674
This commit implements same logic as
https://github.com/solana-labs/solana/pull/12674
to exclude inactive nodes from pull options, with the same periodic
retry logic for offline staked nodes in order to mitigate eclipse
attack.
2020-11-12 16:09:37 +00:00
carllin
9821a7754c
Discard pre hard fork persisted tower if hard-forking ( #13536 )
...
* Discard pre hard fork persisted tower if hard-forking
* Relax config.require_tower
* Add cluster test
* nits
* Remove unnecessary check
Co-authored-by: Ryo Onodera <ryoqun@gmail.com>
Co-authored-by: Carl Lin <carl@solana.com>
2020-11-12 23:29:04 +09:00
dependabot[bot]
cfa598616e
chore:(deps): bump @testing-library/react in /explorer ( #13549 )
...
Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library ) from 11.1.1 to 11.1.2.
- [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.1.1...v11.1.2 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-12 09:09:43 +00:00
dependabot[bot]
76b5066dc9
chore:(deps): bump @solana/web3.js from 0.86.4 to 0.87.0 in /explorer ( #13548 )
...
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js ) from 0.86.4 to 0.87.0.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases )
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v0.86.4...v0.87.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-12 09:09:34 +00:00
DR497
554060b3c5
explorer: Add additional tokens and icons to registry ( #13544 )
...
* Add NFTs to the explorer
* Add missing tokens
2020-11-11 22:19:42 -08:00
Trent Nelson
d2cfeb31b9
ip-echo-server: Limit socket read to expected reply length
2020-11-12 05:53:18 +00:00
Trent Nelson
7481ba5618
ip-echo-server: Add helper to compute reply length
2020-11-12 05:53:18 +00:00
Trent Nelson
aab5f24518
ip-echo-server: Name the header length magic number
2020-11-12 05:53:18 +00:00
Michael Vines
114b91afe6
program-test now generates new blockhashes for test usage
2020-11-11 20:29:00 -08:00
Greg Fitzgerald
dadea873a9
Send BanksClient RPC requests before returning futures ( #13539 )
...
* Send RPC requests before returning futures
* Add process_transactions()
2020-11-11 18:56:26 -07:00
Jack May
eb306da148
Report and bail on broken links ( #13540 )
2020-11-11 17:46:24 -08:00
Ryo Onodera
89b474e192
Fix slow/stuck unstaking due to toggling in epoch ( #13501 )
...
* Fix slow/stuck unstaking due to toggling in epoch
* nits
* nits
* Add stake_program_v2 feature status check to cli
Co-authored-by: Tyera Eulberg <tyera@solana.com>
2020-11-11 14:11:57 -07:00
Trent Nelson
38f15e41b5
Validator: Periodically log what we're waiting for during `--wait-for-supermajority`
2020-11-11 20:03:26 +00:00
Jon Cinque
58354d166b
feat: increase timeout in `confirmTransaction` ( #13478 )
...
Developers have reported needing to change the timeout to suit their
use cases, or not completely understanding what the timeout meant for
their transaction, since it could timeout and still get processed. This
increases the default timeout to `confirmTransaction` and adds more
information to the error message.
2020-11-11 13:12:09 +01:00
dependabot[bot]
ab70c15709
chore:(deps): bump @testing-library/user-event in /explorer ( #13526 )
...
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event ) from 12.2.0 to 12.2.2.
- [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.2.0...v12.2.2 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-11 09:10:00 +00:00
Michael Vines
58724cb687
Use a non-zero fee_calculator for a more realistic test environment
2020-11-11 00:46:28 -08:00
Jack May
e390c8cb7f
Add stubs and heap region definitions ( #13521 )
...
* Add stubs and heap region definitions
* nudge
2020-11-11 05:50:16 +00:00
Greg Fitzgerald
2660b44d91
Remove need for BanksClientExt trait ( #13519 )
2020-11-10 19:30:25 -07:00
carllin
2c2432fddc
Refactor function ( #13294 )
...
Co-authored-by: Carl Lin <carl@solana.com>
2020-11-10 17:20:35 -08:00
Tyera Eulberg
91f4e99b4c
Fix parsing CreateAccountWithSeed instructions ( #13513 )
...
* Reduce required num_system_accounts and handle 2-account instructions properly
* Update CreateAccountWithSeed account docs to be correct
* Add CreateAccountWithSeed test
2020-11-10 23:51:53 +00:00
Jack May
9ca8e98525
Add printf declaration ( #13514 )
2020-11-10 23:40:48 +00:00
Jack May
23c558510a
add missing c logging stubs ( #13511 )
2020-11-10 22:19:54 +00:00
Justin Starry
2a96e722b4
watchtower: Fix all clear duration message
2020-11-10 09:20:39 -08:00
Tyera Eulberg
599dae8f09
Make testnet section less ambiguous ( #13504 )
2020-11-10 10:03:57 -07:00
Tyera Eulberg
3282334741
Bump token version fetched for localnet ( #13490 )
2020-11-10 10:00:08 -07:00
sakridge
70c4626efe
Fix signature access ( #13491 )
2020-11-10 08:35:03 -08:00
Justin Starry
a97c04b400
Send RPC notification when account is deleted ( #13440 )
...
* Send RPC notification when account is deleted
* Remove unwrap
2020-11-10 19:48:42 +08:00
dependabot[bot]
122b707a7d
chore:(deps): bump @types/node from 14.14.6 to 14.14.7 in /explorer ( #13494 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 14.14.6 to 14.14.7.
- [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-11-10 09:13:11 +00:00
dependabot[bot]
f9719361a5
chore:(deps): bump @types/react-select in /explorer ( #13493 )
...
Bumps [@types/react-select](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-select ) from 3.0.23 to 3.0.25.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-select )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-10 09:10:49 +00:00
sakridge
b4cf968e14
Add back shredding broadcast stats ( #13463 )
2020-11-09 23:04:27 -08:00
Trent Nelson
fb815294b3
docs: Consistent used of "jsonParsed" throughout RPC reference
2020-11-09 20:28:04 -07:00
Trent Nelson
87924c7111
docs: Consistently use "jsonParsed" param for RPC `getAccountInfo`
2020-11-09 20:28:04 -07:00
Trent Nelson
1d7c00c915
docs: Wrap RPC `getAccountInfo` at 80 char
2020-11-09 20:28:04 -07:00
Jack May
c280d40b40
align cluster and sim logging as hex ( #13484 )
2020-11-10 02:43:20 +00:00
Tyera Eulberg
c0e2ef06dc
Fix Bank accounts hash mismatch related to Clock::unix_timestamp ( #13477 )
...
* Test for different ancestors with mismatch bank hash
* Test cleanup
* Remove nondeterministic ancestor check
* Update timestamp bounding feature key
* Update design doc
* Filter recent_timestamps to nodes voting within the last epoch
Co-authored-by: Stephen Akridge <sakridge@gmail.com>
2020-11-10 02:10:09 +00:00
Jack May
2eb637d52f
fix running local test-sanity ( #13482 )
2020-11-09 15:03:44 -08:00
Jack May
14fb75927e
update cpi docs ( #13480 )
2020-11-09 22:29:57 +00:00
Jack May
337684b384
update doc redirects ( #13481 )
2020-11-09 22:10:38 +00:00
Jack May
461ae40eea
provide full Rust panic messages in BPF and add memory optimizations ( #13455 )
2020-11-09 13:40:26 -08:00
sakridge
c644b05c54
Fix avx check with newest nightly compiler ( #13465 )
2020-11-09 08:04:34 -08:00