Commit Graph

12665 Commits

Author SHA1 Message Date
141e6706e6 Rename AccountsPackage::root to AccountsPackage::slot 2021-01-09 09:07:49 -08:00
9f70f7dc3e Reduce TempDir exposure 2021-01-09 09:07:49 -08:00
f2a7f561a0 Replace incorrect symlink_dir usage with symlink_file 2021-01-09 09:07:49 -08:00
fe0ba4a429 Create account paths once 2021-01-09 09:07:49 -08:00
86c81a0ba2 Humanize the 'ledger processed...' time 2021-01-08 22:56:21 -08:00
0d8acd1f79 chore: fix flaky web3 stake-program test (#14504)
* chore: remove dangling skipPreflight

* chore: rearrange stake test to deactivate sooner after delegate

* chore: ensure stake is inactive before trying to withdraw
2021-01-09 03:17:57 +00:00
ec48631fc5 Bail on all CPI errors (#14500)
* Bail on all CPI errors

* whitespace
2021-01-09 02:27:39 +00:00
638f225dc4 Add cli command to query upgradeable account authorities (#14491) 2021-01-08 14:43:36 -08:00
9d53eca6e3 Report correct program id (#14486) 2021-01-08 14:43:24 -08:00
b9f0fb5525 chore: don't match specific error text (#14494) 2021-01-08 14:59:01 -07:00
21a0a83543 Bump smallvec version 2021-01-08 20:20:34 +00:00
3eaa826ad9 Suppress cargo audit failure for difference crate, there's no newer crate to upgrade to yet 2021-01-08 20:20:34 +00:00
766195dded limits number of crds values associated with a pubkey (#14467) 2021-01-08 18:54:40 +00:00
58487c6360 Add buffer authority to upgradeable loader (#14482) 2021-01-08 09:37:57 -08:00
30038a8849 docs: Add RUST_LOG explainer 2021-01-07 19:27:46 +00:00
c035f2a745 docs: Prefer dd to fallocate when creating swap file 2021-01-07 19:27:46 +00:00
140642ea21 docs: wrap lines 2021-01-07 19:27:46 +00:00
769b8f5613 Remove unlock banner (#14477)
Co-authored-by: Ryan Shea <rmshea@users.noreply.github.com>
2021-01-07 09:54:25 -07:00
773b21b34e consolidate DEFAULT_HASHES_PER_TICK (#14463) 2021-01-07 09:49:42 -06:00
938d482135 consolidate constants related to time for future refactoring (#14440) 2021-01-07 09:49:24 -06:00
3fc7362486 explorer: Hide banner when lockup has expired (#14473) 2021-01-07 21:26:18 +08:00
17337441c6 chore:(deps): bump @types/jest from 26.0.19 to 26.0.20 in /explorer (#14472)
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 26.0.19 to 26.0.20.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-07 09:16:11 +00:00
5eacc5d08d Enable program upgrades via CPI (#14449) 2021-01-06 14:31:14 -08:00
a89ba32b24 explorer: remove UTC from cluster time (#14466)
* remove UTC mentions

* remove UTC from cluster stats
2021-01-06 13:02:32 -08:00
069d6a067c remove UTC mentions (#14465) 2021-01-06 12:45:01 -08:00
b7b3de528b explorer: format cluster time and locked stake accounts as utc (#14461) 2021-01-06 09:58:55 -08:00
a31f5f467b Add UTC timing, tweak copy (#14460)
* Add UTC timing, tweak copy

* More copy tweaks

* More copy
2021-01-06 10:35:30 -07:00
0767ea174e explorer: add temporary unlock alert box (#14457)
* Add token unlock banner

* make cluster time dynamic

* remove seconds display since it differs slightly from cluster stats

Co-authored-by: rmshea <8948187+rmshea@users.noreply.github.com>
2021-01-05 21:00:36 -08:00
c282586753 Add fixed tick rate adjustment (#14447) 2021-01-05 19:25:44 -08:00
ce1766d798 Enable program-id account index for supply calculations (#14444)
* Enable program-id account index for supply calculations

* Fixup comments
2021-01-06 02:42:33 +00:00
d2b0fd973f Bump serum-dex pegged commit (#14448) 2021-01-05 18:19:19 -07:00
c9df6134fa Save 7G mem on mainnet fixing AccIndex overalloc. (#14435) 2021-01-06 09:48:59 +09:00
e5b10d8b7e explorer: display block time on cluster stats (#14439)
* explorer: display block time on cluster stats

* interpolate blocktime values between fetches

* prevent time from going backwards
2021-01-05 14:22:12 -08:00
a8b5a32b50 Gate cpi program account passing (#14443) 2021-01-05 21:53:41 +00:00
53d65009a0 Lower recycle store count (#14429)
Too many stores can cause swap usage which
is detrimental to account store times.
2021-01-05 12:21:17 -08:00
ecde98401b explorer: add load button for largest accounts card (#14437) 2021-01-05 11:22:15 -08:00
54a5876c48 Introduce rpc url monikers for cli (#14409)
* Introduce rpc url monikers for cli

* Use https:// and support initials as well
2021-01-05 20:00:55 +09:00
ffbbffe42a chore:(deps): bump @types/node from 14.14.19 to 14.14.20 in /explorer (#14431)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.14.19 to 14.14.20.
- [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>
2021-01-05 09:10:28 +00:00
efd9b769fc Add validator --account-index docs (#14418) 2021-01-04 19:51:06 -07:00
974eb6e1ef Fix pre-merge old name in the docs (#14425) 2021-01-05 02:41:24 +00:00
aa4da339ff Improve solana catchup (#14313)
* Improve solana catchup

* Overidable port, retry, args error clean up

* print cleanup

* Reduce diff

* Tweak warns a bit
2021-01-05 10:10:27 +09:00
0619805806 Upgradeable programs needs program account's address as program id (#14417) 2021-01-04 21:45:05 +00:00
a41b5137f6 docs: Use "msg!" instead of "info!" (#14411)
* docs: Use "msg!" instead of "info!"

* Update docs/src/developing/deployed-programs/developing-rust.md

Co-authored-by: Michael Vines <mvines@gmail.com>

* Fix typo / format

Co-authored-by: Michael Vines <mvines@gmail.com>
2021-01-04 20:49:09 +01:00
f24d361e1a Revert validator list changes (#14413) 2021-01-04 12:34:39 -07:00
5424f54cf5 chore:(deps): bump @types/node from 14.14.17 to 14.14.19 in /explorer (#14408)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.14.17 to 14.14.19.
- [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>
2021-01-04 09:20:46 +00:00
2724f37d0e Use max commitment when fetching epoch info for block production 2021-01-04 04:33:39 +00:00
9bb08ce75e Update docs/src/running-validator/validator-start.md
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>
2021-01-03 01:34:15 +00:00
68a84cf581 Update tmpfs partition guidance to include swap 2021-01-03 01:34:15 +00:00
db6ee289c9 Don't bother restoring snapshots, they're never used 2021-01-02 17:26:33 -08:00
b6dcdb90e8 Remove dead code 2021-01-02 17:26:33 -08:00