daf2c3c155
Consider all peers as potential candidates during pull-request in case of offline nodes ( #18333 ) ( #18372 )
...
* Try all peers during pull-request in case of offline nodes
* fix clippy err
(cherry picked from commit f4fb5de545
)
Co-authored-by: Ashwin Sekar <ashwin@solana.com >
2021-07-01 22:56:20 +00:00
03d213d764
Reject transactions with extra signatures ( #18306 ) ( #18370 )
...
* Reject transactions with extra signatures
* fix tests
* fix check
* fix check
* tx method
* fix checks
(cherry picked from commit d5961e9d9f
)
Co-authored-by: Justin Starry <justin@solana.com >
2021-07-01 20:07:43 +00:00
99f9481b5d
Remove hackathon banner
2021-07-01 13:01:48 -07:00
10bd14bca6
Remove feature switch for using message hash for already processed check ( #18340 ) ( #18367 )
...
(cherry picked from commit 5ca975383c
)
Co-authored-by: Justin Starry <justin@solana.com >
2021-07-01 17:39:22 +00:00
d26533e370
Cleanup ReplayStage tests ( #18241 ) ( #18292 )
...
(cherry picked from commit 68c87469c3
)
Co-authored-by: carllin <carl@solana.com >
2021-07-01 07:47:02 +00:00
820abacf49
Update notification format info to be consistent ( #18354 ) ( #18356 )
...
(cherry picked from commit cc80197349
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2021-07-01 06:14:03 +00:00
4466aa39c4
Bump version to v1.7.5
2021-06-30 22:55:01 -06:00
f4e43731ef
solana validators
output now includes average skip rate
...
(cherry picked from commit 52290dbd35
)
v1.7.4
2021-06-30 17:47:49 -07:00
884ef211f7
Document slotsUpdates ( #18335 ) ( #18339 )
...
* Add slotsUpdates to jsonrpc docs
* Re-add unstable section
(cherry picked from commit dfb6296499
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2021-07-01 00:25:24 +00:00
896ef5a15f
Fixed an issue doing the set_roots repeatedly for the same set. Instead doing the per chunks. ( #18314 ) ( #18337 )
...
(cherry picked from commit a67d26a1e8
)
Co-authored-by: Lijun Wang <83639177+lijunwangs@users.noreply.github.com >
2021-07-01 00:12:33 +00:00
4ff482cd47
Fail simulation if transaction contains duplicate accounts ( #18304 ) ( #18334 )
...
(cherry picked from commit b08f8bd1b0
)
Co-authored-by: Justin Starry <justin@solana.com >
2021-06-30 21:35:56 +00:00
6e27360fbc
Add repair number per slot ( #18082 ) ( #18329 )
...
(cherry picked from commit 8d9a6deda4
)
Co-authored-by: sakridge <sakridge@gmail.com >
2021-06-30 20:39:05 +00:00
a10a0824eb
refactor untar_snapshot_in to push parallelism deeper for further refactoring ( #18310 ) ( #18312 )
...
(cherry picked from commit ce53b84cdc
)
Co-authored-by: Jeff Washington (jwash) <75863576+jeffwashington@users.noreply.github.com >
2021-06-30 17:59:57 +00:00
2fdda2ec1b
test-validator: hold rent constant with --slots-per-epoch
( #18318 )
...
(cherry picked from commit 02b14caa5f
)
Co-authored-by: Trent Nelson <trent@solana.com >
2021-06-30 08:37:54 +00:00
57f76a2111
Use timeout to allow RpcClient to retry initial transaction confirmation ( #18311 ) ( #18316 )
...
* Tidying: relocate function
* Use proper helper method for RpcClient commitment
* Add RpcClientConfig
* Add configurable confirm_transaction_initial_timeout
* Use default 5s timeout for initial tx confirmation
(cherry picked from commit 9d4428d3d8
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2021-06-30 03:09:47 +00:00
287daa9248
debug logs when crds table trim failed ( #18307 ) ( #18309 )
...
reports of this error being possibly spammy:
https://discord.com/channels/428295358100013066/689412830075551748/859441080054710293
The commit changes the log level to debug.
Additionally adding a new metric to understand the frequency of this error.
(cherry picked from commit 9d983a34a0
)
Co-authored-by: behzad nouri <behzadnouri@gmail.com >
2021-06-29 22:43:33 +00:00
7e40a051a4
bin accounts index ( #18111 ) ( #18280 )
...
Co-authored-by: Jeff Washington (jwash) <75863576+jeffwashington@users.noreply.github.com >
2021-06-29 09:14:10 -05:00
bd0a7730b6
tx-status: Don't assume a memo instruction succeeded ( #18288 )
...
(cherry picked from commit 7babf28ef7
)
Co-authored-by: Trent Nelson <trent@solana.com >
2021-06-29 03:37:44 +00:00
0d1c87e650
Cli epoch-info: generate epoch-completed time from block times ( #18258 ) ( #18285 )
...
* Generate epoch-completed time from block times
* Add annotation when block times not available
(cherry picked from commit f2b0d562b0
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2021-06-28 17:54:20 -06:00
56cd963fd7
Ignore flaky tests ( #18278 ) ( #18282 )
...
(cherry picked from commit 639a61d639
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2021-06-28 23:13:25 +00:00
d1b26cb267
reduce pubkey copies on insert path ( #18240 ) ( #18276 )
...
(cherry picked from commit 1f1e54b9d8
)
Co-authored-by: Jeff Washington (jwash) <75863576+jeffwashington@users.noreply.github.com >
2021-06-28 16:31:48 -05:00
6a0a03415c
Don't update if already an executable
...
(cherry picked from commit 2fbedd834f
)
2021-06-27 12:24:00 -06:00
41d50adbf3
Only print Foundation inflation rate if it is greater than 0
...
(cherry picked from commit b44af11511
)
2021-06-26 14:57:03 -07:00
328b52c4d6
Zelcore wallet support for SOL/SPLs info added ( #17580 ) ( #18249 )
...
* Zelcore wallet support for SOL/SPLs info added
I have added a quick infodump about Zelcore wallet supporting various features of the Solana ecosystem. I looked at previous commits and it seemed adding to the top of the file was the norm, but please feel free to move around if needed.
* Zelcore wallet info moved to bottom of file.
(cherry picked from commit 8fc4c2f375
)
Co-authored-by: trial123Zel <38964930+trial123Zel@users.noreply.github.com >
2021-06-26 17:22:55 +00:00
b7d04cf7b9
replace account index bulk insert with iterator ( #18198 ) ( #18235 )
...
(cherry picked from commit e06376664b
)
Co-authored-by: Jeff Washington (jwash) <75863576+jeffwashington@users.noreply.github.com >
2021-06-25 17:55:42 -05:00
7ed2cf30a5
Bump borsh from 0.8.1 to 0.9.0 ( #18230 )
2021-06-25 14:43:04 -06:00
78fe5576a9
Added notes to running validator documentation to ensure that 'exec' is used from scripts when starting the validator to prevent logrotate signals from killing the validator. ( #18234 ) ( #18236 )
...
(cherry picked from commit c045f1dfb5
)
Co-authored-by: bji <bryan@ischo.com >
2021-06-25 20:36:41 +00:00
41179b1282
metric for accounts index insertion time ( #18202 ) ( #18226 )
...
(cherry picked from commit f2a2581259
)
Co-authored-by: Jeff Washington (jwash) <75863576+jeffwashington@users.noreply.github.com >
2021-06-25 13:36:29 -05:00
f82d99b4c2
ci: add wrapper script for running ci locally
...
Linux only for now
(cherry picked from commit 0bc38153ca
)
2021-06-25 10:17:17 -06:00
967f0d07f2
ci: add downstream build wrapper
...
(cherry picked from commit 761e324982
)
2021-06-25 10:17:17 -06:00
940dbe99e9
ci: give localnet nodes a more time to startup
...
(cherry picked from commit 278a241db3
)
2021-06-25 10:17:17 -06:00
98e1c68a70
sdk: ensure ld
can find criterion when running BPF tests
...
(cherry picked from commit 7ee39fcb0f
)
2021-06-25 10:17:17 -06:00
d8e250e9b0
ci: nvidia persistence mode isn't a hard requirement
...
(cherry picked from commit f213e48067
)
2021-06-25 10:17:17 -06:00
c8be8510ba
ci: use versioned cargo wrapper for crate ordering
...
(cherry picked from commit 554002b73c
)
2021-06-25 10:17:17 -06:00
c99460ba15
remove unnecessary copies from accounts index code paths ( #18196 ) ( #18212 )
...
(cherry picked from commit f9fccdee85
)
Co-authored-by: Jeff Washington (jwash) <75863576+jeffwashington@users.noreply.github.com >
2021-06-25 02:23:23 +00:00
769fcb7f50
untar in parallel ( #18184 ) ( #18210 )
...
* untar in parallel
* make enum for 'ignore' return value
(cherry picked from commit 31ec986ea1
)
Co-authored-by: Jeff Washington (jwash) <75863576+jeffwashington@users.noreply.github.com >
2021-06-24 19:35:21 -05:00
60812790e1
rework dirty_pubkeys from insert_new_if_missing_into_primary_index ( #18200 ) ( #18208 )
...
(cherry picked from commit 4b314be5bd
)
Co-authored-by: Jeff Washington (jwash) <75863576+jeffwashington@users.noreply.github.com >
2021-06-24 17:55:45 -05:00
a01e44f3b9
Update README.md ( #18191 ) ( #18195 )
...
(cherry picked from commit 3362ac06b5
)
Co-authored-by: Hao-Cher Hong <rax333j@gmail.com >
2021-06-24 15:47:12 +00:00
0917370bd5
Update leader-rotation.md ( #18192 ) ( #18193 )
...
Confusing wording regarding epoch length
(cherry picked from commit 6b62ba045d
)
Co-authored-by: Marcel Jackisch <jackisch@protonmail.com >
2021-06-24 14:49:22 +00:00
09b612b130
add min/max bin size metrics to hash calculation ( #18155 ) ( #18181 )
...
(cherry picked from commit 77c3ffe4cf
)
Co-authored-by: Jeff Washington (jwash) <75863576+jeffwashington@users.noreply.github.com >
2021-06-23 20:04:15 +00:00
26fdf3fb07
Add batch stats ( #18096 ) ( #18142 )
...
(cherry picked from commit e808f34b0b
)
Co-authored-by: sakridge <sakridge@gmail.com >
2021-06-23 12:43:37 -05:00
f41f3f6b51
apply 'debug_do_not_add_builtins' to feature activations ( #18110 ) ( #18150 )
...
(cherry picked from commit fbc94d84c8
)
Co-authored-by: Jeff Washington (jwash) <75863576+jeffwashington@users.noreply.github.com >
2021-06-23 17:34:19 +00:00
677664e71d
filters crds values obtained through gossip by their shred version (backport #18072 ) ( #18175 )
...
* filters crds values obtained through gossip by their shred version (#18072 )
filter_by_shred_version does not check the shred-version of the owner of
the crds-value. It only checks the shred-version of the node which is
relaying the value:
https://github.com/solana-labs/solana/blob/5cc073420/gossip/src/cluster_info.rs#L2274-L2289
So crds-values with different shred versions can still pass through this
function as long as they are relayed by a node with matching shred
version; and so, a single node can bridge different shred values
through-out the cluster.
(cherry picked from commit 69a5f0e6cd
)
# Conflicts:
# gossip/src/cluster_info.rs
* removes backport merge conflicts
Co-authored-by: behzad nouri <behzadnouri@gmail.com >
2021-06-23 17:16:33 +00:00
a8071f1039
chore(pubkey): remove dead code ( #18162 )
...
(cherry picked from commit 755b7c7aee
)
Co-authored-by: hrls <viktor.kharitonovich@gmail.com >
2021-06-23 17:07:21 +00:00
bc08351a0a
capture sort time in hash calculation ( #18118 ) ( #18153 )
...
(cherry picked from commit d3ee73e151
)
Co-authored-by: Jeff Washington (jwash) <75863576+jeffwashington@users.noreply.github.com >
2021-06-23 15:49:28 +00:00
088b3893c3
Keep track of dirty stores on remove accounts to clean ( #17601 ) ( #18173 )
...
* Keep track of dirty stores on remove accounts to clean
and not zero_lamport key set
* Only dirty when count==0?
* Add another clean
(cherry picked from commit 3b1738c000
)
Co-authored-by: sakridge <sakridge@gmail.com >
2021-06-23 10:23:44 +00:00
d9d6dd9ba6
Add metrics for rpc send-tx failures ( #18156 ) ( #18164 )
...
(cherry picked from commit 64cff8c5a1
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2021-06-22 22:28:22 -06:00
aca66674d3
correctly calculate hash_total for hash/lamport calculation ( #18144 ) ( #18146 )
...
(cherry picked from commit d5f9f3b7ce
)
Co-authored-by: Jeff Washington (jwash) <75863576+jeffwashington@users.noreply.github.com >
2021-06-22 21:21:10 +00:00
597429ab3e
Bump version to v1.7.4
2021-06-22 19:57:34 +00:00
715360c1e7
ci: fix release build agent targeting
v1.7.3
2021-06-22 13:36:34 -06:00