817f47d970
Bump QUIC_PORT_OFFSET to 6 to avoid jostling around other ports
2022-02-11 17:00:31 -08:00
3d9874b95a
Add fees to tx-wide caps ( #22081 )
2022-02-11 16:23:16 -08:00
12dffc105a
Load AccountsDB plugins relative to plugin config ( #23000 )
2022-02-11 15:20:54 -08:00
f7753ce85f
Document message APIs ( #22873 )
...
* Document message APIs
* Ignore clippy
* Update sdk/program/src/message/mod.rs
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
* Fix new_with_blockhash example
* Rename nonce_account_address in example
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com >
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com >
2022-02-11 11:47:36 -07:00
a75c9378f2
chore: bump semver from 1.0.4 to 1.0.5 ( #23071 )
...
* chore: bump semver from 1.0.4 to 1.0.5
Bumps [semver](https://github.com/dtolnay/semver ) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/dtolnay/semver/releases )
- [Commits](https://github.com/dtolnay/semver/compare/1.0.4...1.0.5 )
---
updated-dependencies:
- dependency-name: semver
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* [auto-commit] Update all Cargo lock files
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com >
2022-02-11 11:19:52 -07:00
6399647e64
(Ledger Store) Add code comments for SlotMetaWorkingSetEntry. ( #22662 )
2022-02-11 10:04:26 -08:00
78089941ff
adds validator version to set_panic_hook ( #23082 )
2022-02-11 18:04:10 +00:00
ac13d14e30
chore: bump goauth from 0.10.0 to 0.11.1 ( #23070 )
...
Bumps [goauth](https://github.com/durch/rust-goauth ) from 0.10.0 to 0.11.1.
- [Release notes](https://github.com/durch/rust-goauth/releases )
- [Commits](https://github.com/durch/rust-goauth/commits )
---
updated-dependencies:
- dependency-name: goauth
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-11 10:50:21 -07:00
c078ca3fb3
uses sendmmsg in streamer ( #23062 )
...
packet::send_to sends packets one by one:
https://github.com/solana-labs/solana/blob/9213fcb11/streamer/src/packet.rs#L63-L75
sendmmsg uses a single system call for multiple messages:
https://github.com/solana-labs/solana/blob/9213fcb11/streamer/src/sendmmsg.rs#L94
2022-02-11 13:36:50 +00:00
34443a238e
Add --full-rpc-api to run.sh ( #23072 )
2022-02-11 20:38:32 +09:00
2f9e30a1f7
Introduce slot-specific packet metrics ( #22906 )
2022-02-11 03:07:45 -05:00
4bd6a231d2
mention staking reward in getInflationReward doc ( #23073 )
2022-02-11 03:57:26 +00:00
e4a1799334
fix typos in ledge code comments ( #23068 )
2022-02-10 20:43:44 -07:00
59e64d5e99
chore: bump raptorq from 1.6.4 to 1.6.5 ( #23042 )
...
Bumps [raptorq](https://github.com/cberner/raptorq ) from 1.6.4 to 1.6.5.
- [Release notes](https://github.com/cberner/raptorq/releases )
- [Commits](https://github.com/cberner/raptorq/compare/v1.6.4...v1.6.5 )
---
updated-dependencies:
- dependency-name: raptorq
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-10 19:07:07 -07:00
9e87eb5f71
chore: bump tokio from 1.15.0 to 1.16.1 ( #23051 )
...
* chore: bump tokio from 1.15.0 to 1.16.1
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.15.0 to 1.16.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.15.0...tokio-1.16.1 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* [auto-commit] Update all Cargo lock files
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com >
2022-02-10 19:06:55 -07:00
9213fcb11b
Introduce experimental FIFO-compaction option for shreds in blockstore ( #22140 )
2022-02-10 11:34:03 -08:00
0a1ab945bc
Move cap_accounts_data_len feature gate only around new error ( #23048 )
2022-02-10 11:57:00 -06:00
d5dec989b9
Enforce tx metadata upload with static types ( #23028 )
2022-02-10 13:28:18 +08:00
2ca7ae8e30
Update rocksdb to 0.18.0 release ( #23031 )
2022-02-09 21:51:56 -06:00
47e4291303
add Debug to RentResult ( #23044 )
2022-02-09 18:07:36 -06:00
9d036be61b
chore: bump libc from 0.2.115 to 0.2.117 ( #23034 )
...
* chore: bump libc from 0.2.115 to 0.2.117
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.115 to 0.2.117.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.115...0.2.117 )
---
updated-dependencies:
- dependency-name: libc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* [auto-commit] Update all Cargo lock files
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com >
2022-02-09 16:49:44 -07:00
a7598b6d78
Add deactivate-feature feature to test validator cli ( #23041 )
2022-02-09 13:45:24 -08:00
57a9146fa1
tpu docs ( #23035 )
2022-02-09 21:58:26 +01:00
67f6787f7a
Enable incremental snapshots by default ( #22938 )
...
Co-authored-by: Michael Vines <mvines@gmail.com >
2022-02-09 13:26:35 -06:00
226a71f073
Refactor: Use instruction_trace instead of instruction_context_stack ( #22988 )
...
* Moves stack_height of the instruction_trace into InstructionContext.
* Uses nesting_level instead of stack_height internally in transaction_context.rs
* Uses the instruction_trace instead of the instruction_context_stack internally.
* Adds feature gate: record_instruction_in_transaction_context_push.
2022-02-09 20:04:49 +01:00
e545828fc5
chore: bump borsh from 0.9.2 to 0.9.3 ( #23033 )
...
* chore: bump borsh from 0.9.2 to 0.9.3
Bumps [borsh](https://github.com/near/borsh-rs ) from 0.9.2 to 0.9.3.
- [Release notes](https://github.com/near/borsh-rs/releases )
- [Changelog](https://github.com/near/borsh-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/near/borsh-rs/compare/v0.9.2...v0.9.3 )
---
updated-dependencies:
- dependency-name: borsh
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* [auto-commit] Update all Cargo lock files
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com >
2022-02-09 12:02:57 -07:00
205cd4609b
bank::get_rent_collector_from_parent ( #23016 )
2022-02-09 12:31:58 -06:00
ae175a026b
feat(vote-program): support VoteInstruction::Authorize ( #22978 )
2022-02-09 11:29:49 -07:00
86d465c531
Prepare RPC subsystem for multiple SPL Token program ids
2022-02-09 08:16:00 -08:00
f67a27eeea
Add missing deployment slot check for verifiable build badge ( #23032 )
2022-02-09 18:40:56 +08:00
1b287f1b59
(Ledger Cleanup) Add code comments for ledger_cleanup. ( #22807 )
2022-02-08 22:48:56 -08:00
f334931903
rent: refactor test function ( #23014 )
2022-02-08 22:11:47 -06:00
fb47c1f0a3
consolidate Rent construction in test code ( #23018 )
2022-02-08 21:51:52 -06:00
c7aa7fb66b
Add sbf-tools version to cargo target cache name on CI agents
2022-02-09 03:26:56 +00:00
869cfc9a1c
Return the accounts data len delta after processing messages ( #22986 )
2022-02-08 19:24:47 -06:00
ba2d83f580
fix tests after merge
2022-02-08 16:18:23 -06:00
7aa1fb4e24
1. Persist to blockstore less frequently;
...
2. reduce alpha for EMA to 1 percent to have roughly 200 data points for estimatio
2022-02-08 16:18:23 -06:00
6587dbfa47
use EMA in place of Welford
2022-02-08 16:18:23 -06:00
a25ac1c988
- estimate a program cost as 2 standard deviation above mean
...
- replaced get_average / get_mode with get_default to assign max units to unknown program
2022-02-08 16:18:23 -06:00
c899685cb2
chore: make Connection block tests less brittle ( #23015 )
2022-02-08 14:58:50 -07:00
541b5a4826
Rename struct to imported name ( #22814 )
...
* use imported RpcResponse
* Remove extra map method
* rename result to accounts
* fmt
2022-02-08 12:01:40 -07:00
dcd4ea9111
monitor: Remove getMaxRetransmitSlot RPC method usage
2022-02-08 09:26:34 -08:00
7873175764
zk-token-sdk: fix pod for zk-token transfer ( #22957 )
2022-02-08 12:09:50 -05:00
86cf226395
eliminate separate max root member ( #22943 )
2022-02-08 09:31:32 -06:00
f0f4042680
Put accounts data len updates behind feature gate ( #22918 )
2022-02-08 08:51:16 -06:00
3c65fd7ba3
Disable features programmatically in TestValidatorGenesis ( #22860 )
...
* Supported starting test-validator and disabling features
* Enable starting test validator and removing feature accounts
* Enable deactivating feature accounts
* Enable deactivating feature accounts - updates per PR comments
* Enable deactivating feature accounts - updates per PR comments
* Added more verbosity when key for deactition is either not a Feature or not in genesis_config accounts
2022-02-07 22:00:07 -07:00
e52e48076e
bench should update leader schedule cache ( #22991 )
2022-02-08 02:28:28 +00:00
f2d406ad5d
Fix panic in ProgramTestContext::warp_to_slot() when warping one slot ( #22977 )
...
warp_to_slot() first warps to one slot before desired slot in order to
freeze the bank at warp slot. This would cause issues when warping by
one slot as that would attempt to warp to the same slot and hit a sanity
check assertion.
2022-02-07 16:21:43 -06:00
5acf0f6331
Add feature gate for new vote instruction and plumb through replay ( #21683 )
...
* Add feature gate for new vote instruction and plumb through replay
Add tower versions
* Add check for slot hashes history
* Update is_recent check to exclude voting on hard fork root slot
* Move tower rollback test to flaky and ignore it until #22551 lands
2022-02-07 14:06:19 -08:00
d7fcfee4db
Fix slice length ( #22989 )
2022-02-07 13:54:20 -08:00