4be8842925
Upgrade to SPL Token 3.1.0 program binary ( #15302 )
...
(cherry picked from commit aa97da2146
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2021-02-12 23:27:30 +00:00
b1ef9045ec
docs: getLargestAccounts caching notice ( #15293 ) ( #15295 )
...
(cherry picked from commit 760e163190
)
Co-authored-by: Josh <josh.hundley@gmail.com >
2021-02-12 18:43:56 +00:00
dbe4d87e60
Fix registration link
2021-02-11 21:54:00 -07:00
d2efa3aa15
RPC documentation updates for token deltas / blockTimes in getConfirmedSignatures2/getConfirmedTransaction ( #14871 ) ( #15284 )
...
* docs: add token balances response info
* docs: add blockTime to getConfirmedSignatures and getConfirmedTransaction
* docs: update example responses
* fix: remove space
(cherry picked from commit 6b8e710988
)
Co-authored-by: Josh <josh.hundley@gmail.com >
2021-02-12 02:13:32 +00:00
ccd2c6cc13
Add per-byte logging cost ( #15279 ) ( #15282 )
...
(cherry picked from commit 6650fbf443
)
Co-authored-by: Jack May <jack@solana.com >
2021-02-12 02:09:45 +00:00
e976b1547a
Fix flaky test test_concurrent_snapshot_packaging ( #15252 ) ( #15281 )
...
(cherry picked from commit 990bb426a9
)
Co-authored-by: carllin <carl@solana.com >
2021-02-12 01:22:06 +00:00
03ac807756
RPC: add caching to getLargestAccounts ( #15154 ) ( #15271 )
...
* introduce get largest accounts cache
* remove cache size and change hash key
* remove eq and hash derivation from commitment config
* add slot to the cache
(cherry picked from commit 4013f91dbe
)
Co-authored-by: Josh <josh.hundley@gmail.com >
2021-02-11 21:13:09 +00:00
067871cc39
Clean up mainnet-beta inflation candidate features ( #15257 )
...
(cherry picked from commit 47c60f8e98
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2021-02-11 03:02:16 +00:00
e9ceb99460
Match BPF instruction reporting to dump file ( #15254 ) ( #15256 )
...
(cherry picked from commit 10abd199e1
)
Co-authored-by: Jack May <jack@solana.com >
2021-02-11 02:52:25 +00:00
cd994f0162
Bump version to 1.5.7
2021-02-10 05:18:39 +00:00
01e4d0a1e9
Use spl-token-mint secondary index for relevant getProgramAccounts requests ( #15219 ) ( #15224 )
...
(cherry picked from commit 948819dfa8
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
v1.5.6
2021-02-10 00:39:55 +00:00
7f0f43cb28
Warp timestamp and extend max-allowable-drift for accommodate slow blocks ( #15204 ) ( #15222 )
...
* Remove timestamp_correction feature gating
* Remove timestamp_bounding feature gating
* Remove unused deprecated ledger code
* Remove unused deprecated unbounded-timestamp code
* Enable independent adjustment of fast/slow timestamp bounding
* Update timestamp bounds to 25% fast, 80% slow; warp timestamp
* Update bank hash test
* Add PR number to feature
Co-authored-by: Michael Vines <mvines@gmail.com >
Co-authored-by: Michael Vines <mvines@gmail.com >
(cherry picked from commit da6753b8c0
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2021-02-10 00:03:26 +00:00
d0bf97d25d
uses btree-map instead of hash-map for cluster-slots ( #15194 ) ( #15220 )
...
retain traverses all values in the hashmap which is slow:
https://github.com/solana-labs/solana/blob/88f22c360/core/src/cluster_slots.rs#L45
btree-map instead allows more efficient prunning there.
In addition there is potential race condition here:
https://github.com/solana-labs/solana/blob/88f22c360/core/src/cluster_slots.rs#L68-L74
If another thread inserts a value at the same slot key between the read
and write lock, current thread will discard the inserted value.
(cherry picked from commit 2758588ddd
)
Co-authored-by: behzad nouri <behzadnouri@gmail.com >
2021-02-09 23:21:08 +00:00
c3056734e3
solana-test-validator now uses the BPF JIT by default, --no-bpf-jit
to disable
2021-02-09 21:43:00 +00:00
5e2b9e595d
use index version of calculating hash ( #15189 ) ( #15211 )
...
* use index version of calculating hash
* invert const
* formatting
(cherry picked from commit 8424fe2c12
)
Co-authored-by: Jeff Washington (jwash) <75863576+jeffwashington@users.noreply.github.com >
2021-02-09 18:02:23 +00:00
9be3e00546
Add cli deploy tests (bp #15116 ) ( #15147 )
...
* Add cli deploy tests (#15116 )
(cherry picked from commit 210514b136
)
* fix conflicts
Co-authored-by: Jack May <jack@solana.com >
2021-02-09 05:42:43 +00:00
0c2dcd759c
Parse upgradeable loader instructions and accounts ( #15195 ) ( #15199 )
...
* Parse upgradeable-loader instructions
* Parse upgradeable-loader accounts
(cherry picked from commit c0a6272afd
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2021-02-09 01:47:46 +00:00
b711476811
removes locked pubkey references ( #15152 ) ( #15182 )
...
(cherry picked from commit b6f231b60e
)
Co-authored-by: behzad nouri <behzadnouri@gmail.com >
2021-02-08 03:24:38 +00:00
e4fe7dfbbd
Add jit and caching args to ledger-tool ( #15177 ) ( #15178 )
...
(cherry picked from commit 11b84cb870
)
Co-authored-by: sakridge <sakridge@gmail.com >
2021-02-06 21:04:46 +00:00
40e62c60d3
Require lockup authority to change withdraw authority on locked stake ( #14861 ) ( #15170 )
...
(cherry picked from commit dc7041ba07
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2021-02-06 08:27:25 +00:00
a93d37b804
program-test: Add warp tests for rent and stake rewards ( #15136 )
...
* program-test Add rent collection and stake rewards
* Improve tests to initialize vote state
* Update comment
* Update program-test/src/lib.rs
Co-authored-by: Michael Vines <mvines@gmail.com >
* Review feedback
* cargo fmt
* Avoid using hard-coded slots in tests
* Make genesis_config private
Co-authored-by: Michael Vines <mvines@gmail.com >
2021-02-05 23:39:12 -08:00
65e6df2b0d
program-test: Add ability to warp to the future ( #14998 )
...
* program-test: Add ability to warp to the future
* Make `start_local_server` take by value
* Remove clear_invoke_context
2021-02-05 23:39:12 -08:00
f02bd10d4a
program-test: Set context without panic ( #14997 )
...
* program-test: Fix CPI and multiple instructions
* Whitespace
* Add CPI test in program-test
2021-02-05 23:39:12 -08:00
d7d8a751d9
Increment hyper versions to pacify cargo audit ( #15172 )
2021-02-05 23:13:16 -08:00
f6f4193d4d
Only publish release-tag docs on beta channel ( #15158 ) ( #15168 )
...
(cherry picked from commit 819d829c41
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2021-02-06 06:59:09 +00:00
fe0077d88a
Update slashing roadmap link
2021-02-05 16:29:44 -07:00
8016f61ce8
use thread pool for non-index hash calculations ( #15149 ) ( #15153 )
...
(cherry picked from commit fabecdc86c
)
Co-authored-by: Jeff Washington (jwash) <75863576+jeffwashington@users.noreply.github.com >
2021-02-05 21:59:59 +00:00
0b6366da9c
sentinel value for zero lamport accounts in hash scanning ( #15097 ) ( #15145 )
...
* sentinel value for zero lamport accounts in hash scanning
* fix test
(cherry picked from commit f85be6259b
)
Co-authored-by: Jeff Washington (jwash) <75863576+jeffwashington@users.noreply.github.com >
2021-02-05 15:16:11 -06:00
d567a62cc7
caches descendants in bank forks ( #15107 ) ( #15148 )
...
(cherry picked from commit 6fd5ec0e4c
)
Co-authored-by: behzad nouri <behzadnouri@gmail.com >
2021-02-05 19:38:36 +00:00
eccea2b1ea
Add w3m's inflation pubkeys ( #15142 ) ( #15144 )
...
(cherry picked from commit 2a60dd8492
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2021-02-05 08:59:26 -08:00
bfd93cc13f
Sort inflation candidates alphabetically
2021-02-05 00:07:46 -08:00
b21c89e494
Warn lastValidSlot with some terminology tweaks ( #15081 ) ( #15122 )
...
* Warn lastValidSlot with some terminology tweaks
* Apply suggestions from code review
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
* Restore previous arrangment of slot def. and tweak upon it
* Apply suggestions from code review
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
(cherry picked from commit 85ffc8fa1c
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2021-02-05 07:07:00 +00:00
253b68abf1
Inflation Nomination for sotcsa ( #15105 ) ( #15120 )
...
(cherry picked from commit e908a4b3fc
)
Co-authored-by: sotcsa <sotcsa@users.noreply.github.com >
2021-02-04 21:49:51 -08:00
49034b8016
nit: cleanup feature status display ( #15113 ) ( #15117 )
...
* nit: cleanup feature status display
* nudge
(cherry picked from commit a52a241852
)
Co-authored-by: Jack May <jack@solana.com >
2021-02-05 05:38:38 +00:00
3838fb62d4
move timer end outside if ( #15087 ) ( #15114 )
...
(cherry picked from commit f0d58f5549
)
Co-authored-by: Jeff Washington (jwash) <75863576+jeffwashington@users.noreply.github.com >
2021-02-04 20:12:56 -08:00
9f267fc5e7
remove unused arg from function ( #15096 ) ( #15115 )
...
(cherry picked from commit 7d9f5ad525
)
Co-authored-by: Jeff Washington (jwash) <75863576+jeffwashington@users.noreply.github.com >
2021-02-04 20:12:31 -08:00
5a82265650
deploy doc updates ( #15109 ) ( #15112 )
...
(cherry picked from commit 82350f9350
)
Co-authored-by: Jack May <jack@solana.com >
2021-02-05 00:52:26 +00:00
77d2ed95ff
Add ref count from storage ( #15078 ) ( #15092 )
...
(cherry picked from commit e5225b7e68
)
Co-authored-by: sakridge <sakridge@gmail.com >
2021-02-04 15:12:23 -08:00
858ca752e2
Generate keypair file for c program deployment ( #15080 ) ( #15110 )
...
* Generate keypair file for c program deployment
* Build and use solana-keygen in test-stable-perf
(cherry picked from commit bba1b49663
)
Co-authored-by: Jack May <jack@solana.com >
2021-02-04 23:02:01 +00:00
fea0bd234c
Fix pubkey refcount for shrink + clean ( #14987 ) ( #15108 )
...
(cherry picked from commit e4d0d4bfae
)
Co-authored-by: carllin <wumu727@gmail.com >
2021-02-04 22:11:57 +00:00
7af7d5f22c
Add LowFeeValidation Nomination ( #15098 ) ( #15102 )
...
(cherry picked from commit 53dab29528
)
Co-authored-by: bonsfi <bonsfi@users.noreply.github.com >
2021-02-04 11:06:29 -08:00
de4cccd977
Enable inflation candidate for RockX ( #15099 ) ( #15101 )
...
(cherry picked from commit c6f572c331
)
Co-authored-by: calvinzhou-rockx <55546839+calvinzhou-rockx@users.noreply.github.com >
2021-02-04 10:50:04 -08:00
9f74136632
borrow storages ( #15088 ) ( #15095 )
...
(cherry picked from commit f49a70e626
)
Co-authored-by: Jeff Washington (jwash) <75863576+jeffwashington@users.noreply.github.com >
2021-02-04 18:43:15 +00:00
21484acc20
Inflation Nomination for Diman ( #15083 ) ( #15091 )
...
(cherry picked from commit d87e0c3f1d
)
Co-authored-by: DimAn <71597545+diman-io@users.noreply.github.com >
2021-02-04 09:39:14 -08:00
36ad03af1f
calculate hash from store instead of index (bp #15034 ) ( #15084 )
...
* calculate hash from store instead of index (#15034 )
* calculate hash from store instead of index
* restore update hash in abs
(cherry picked from commit 600ff0d915
)
* fix merge conflict (#15085 )
Co-authored-by: Jeff Washington (jwash) <75863576+jeffwashington@users.noreply.github.com >
2021-02-04 16:58:11 +00:00
e255ee52b1
Nomination candidate for p2pvalidator ( #15079 ) ( #15090 )
...
(cherry picked from commit 2ed074ba2a
)
Co-authored-by: rk-p2p <56305239+rk-p2p@users.noreply.github.com >
2021-02-04 08:55:18 -08:00
972540907b
Don't load all accounts into memory for capitalization check ( #14957 ) ( #15072 )
...
* Don't load all accounts into memory for capitalization check
Co-authored-by: carllin <carl@solana.com >
2021-02-04 11:49:48 +00:00
cfeed09f1f
Add program deployment docs ( #15075 ) ( #15082 )
...
(cherry picked from commit d0118a5c42
)
Co-authored-by: Jack May <jack@solana.com >
2021-02-04 10:42:37 +00:00
dadebb2bba
Don't reset accounts if the remove_account comes from a clean ( #15022 ) ( #15066 )
...
Store may be in-use with a snapshot creation, so don't disturb
it's state.
Co-authored-by: sakridge <sakridge@gmail.com >
2021-02-04 06:02:02 +00:00
169403a15e
removes pubkey references ( #15050 ) ( #15073 )
...
(cherry picked from commit 86467d825a
)
Co-authored-by: behzad nouri <behzadnouri@gmail.com >
2021-02-04 00:24:58 +00:00