Commit Graph

7947 Commits

Author SHA1 Message Date
Jack May b19f730527
Seperate RefCells lamports and data (#8021) 2020-01-29 21:15:04 -08:00
Jack May d5ff5f4739
Update solana_rbpf v0.1.20 (#8023) 2020-01-29 21:14:49 -08:00
Michael Vines 1c82f84595 Add leader-schedule subcommand 2020-01-29 20:08:42 -07:00
Michael Vines bea9cd9684 Add --expected-shred-version option 2020-01-29 20:08:42 -07:00
Michael Vines 1bc9a9c23b Wait for supermajority by default, add --no-wait-for-supermajority flag to override 2020-01-29 20:08:42 -07:00
Michael Vines c4faccc77f getClusterNodes now excludes validators with a different shred version 2020-01-29 20:08:42 -07:00
Rob Walker e6803daf10
Remove support for stake redelegation (#7995)
* Remove support for stake redelegation

* fixup
2020-01-29 17:59:14 -08:00
Justin Starry effe6e3ff3 Log solana-validator args on startup to aid debugging 2020-01-29 08:27:52 -07:00
Rob Walker 0d6c233747
Add set_lockup to stake (#7997) 2020-01-28 20:59:53 -08:00
Michael Vines 015e696077
Solana keygen grind improvements (#8008)
automerge
2020-01-28 20:19:19 -08:00
Jack May 7faab2072c
Cleanup BPF use syntax (#8001) 2020-01-28 17:03:37 -08:00
Jack May 83718a3b3e
Cleanup runtime use syntax (#8002) 2020-01-28 17:03:20 -08:00
Trent Nelson 4a074133f7
CLI: Fix tests. sign_only requires a blockhash (#8005)
This is enforced by argument parsing and will be better enforced wholly
with #7981
2020-01-28 18:02:20 -07:00
Jack May 12eff5a2f9
Cleanup SDK use syntax (#8004) 2020-01-28 16:11:22 -08:00
carllin 4197cce8c9
Tower tests (#7974)
* Add testing framework for voting
2020-01-28 16:02:28 -08:00
Jack May fed3817ed3
Update and fix transaction error documentation (#7998) 2020-01-28 15:59:50 -08:00
carllin 4ffd7693d6
Add lock to make sure slot-based locktree calls are safe (#7993) 2020-01-28 13:45:41 -08:00
Jack May 1596c961d9
Rust BPF program cleanup (#7990) 2020-01-27 18:27:44 -08:00
Michael Vines fd7d5cbe0d Fix compute_shred_version() (#7989)
automerge
2020-01-27 17:05:31 -08:00
sakridge 7058287273
Consensus fix, don't consider threshold check if.. (#7948)
* Consensus fix, don't consider threshold check if

lockouts are not increased

* Change partition tests to wait for epoch with > lockout slots

* Use atomic bool to signal partition
2020-01-27 16:49:25 -08:00
Michael Vines 912aafcefd Reduce epoch duration from 2 weeks to 2 days 2020-01-27 10:34:55 -07:00
Dan Albert 2f34f433b3 Specify where VM images are coming from across GCE projects (#7985)
automerge
2020-01-27 08:17:21 -08:00
Michael Vines 1ff4dd9a9a
Remove show- prefix 2020-01-26 21:00:57 -07:00
Michael Vines fdcaad96c7
Remove stray key 2020-01-26 14:35:33 -07:00
Trent Nelson 14a72b0fc0
CLI: --sign-only and --signer require --blockhash (#7982) 2020-01-26 10:06:21 -07:00
Trent Nelson c13ab9f14e CLI: Consolidate offline arg declarations (#7979)
automerge
2020-01-26 00:27:24 -08:00
Michael Vines cff1bc6e71
s/dervied/derived/ 2020-01-25 23:22:28 -07:00
Trent Nelson bb6c4efe9b
CLI: Deterministic dummy keypair generation for SigningAuthority::Offline (#7971)
* CLI: Deterministic dummy keypair generation for SigningAuthority::Offline

* Add test
2020-01-25 22:14:07 -07:00
Dan Albert c324e71768
Bump cargo toml versions to 0.24.0 (#7976) 2020-01-25 11:04:27 -06:00
Trent Nelson e2570c98ee
CLI: Add authority to show-nonce-account output (#7969) 2020-01-25 07:21:23 -07:00
Michael Vines b5125479ec Bump perf libs to v0.18.0 for CUDA 10.2 support 2020-01-24 21:39:49 -07:00
Michael Vines 989355e885 Add ability to hard fork at any slot (#7801)
automerge
2020-01-24 17:27:04 -08:00
Michael Vines a2f2c46f87 Ensure shred version is never 0 2020-01-24 17:41:20 -07:00
Dan Albert 605623baf5 Report last tower distance and add partition testcase (#7929)
automerge
2020-01-24 16:37:19 -08:00
Michael Vines fdc452c536
Move testnet.solana.com and TdS to their own GCP projects 2020-01-24 16:26:54 -07:00
Jack May 1b391dd36b
Add account accessor functions (#7966) 2020-01-24 14:34:59 -08:00
Jack May 917067741a
Cleanup BPF SDK (#7965) 2020-01-24 13:41:14 -08:00
Jack May 34ed93d57c
Optimize account copies and use RefCell to handle duplicate accounts in BPF programs (#7958) 2020-01-24 10:54:26 -08:00
Rob Walker d400a64b9a Update tiny_bip39 (#7959)
automerge
2020-01-24 08:59:07 -08:00
Ryo Onodera 2c7447b73e
Secure sysvars under hash by freezing all strictly (#7892)
* Secure sysvars under hash by freezing all strictly

* Fix hash's non-idempotnet and add new test

* Clean up

* More cleanups
2020-01-24 16:10:32 +09:00
Michael Vines c0f0fa24f8 Increase --wait-for-supermajority to wait for 75% online stake 2020-01-23 22:41:46 -07:00
Michael Vines bda5f949bb Add create-snapshot command 2020-01-23 22:21:27 -07:00
Ryo Onodera 992e985972 Add column for slot range of epoch to epoch-info (#7954)
automerge
2020-01-23 20:44:37 -08:00
Greg Fitzgerald afaa359b0d
Reorg the book (#7952)
* Move application-oriented docs

* Reorg the book

* Fix build

* Apply review feedback

* verb-noun
2020-01-23 21:21:43 -07:00
Justin Starry 3c17db41dc Add note to book about drone throughput limitations (#7953)
automerge
2020-01-23 18:50:25 -08:00
Michael Vines d62ed4f6b3 Add BlockstoreProcessorResult 2020-01-23 16:52:47 -07:00
Dan Albert 79f3194d0c Fix cli call to stakes (#7946)
automerge
2020-01-23 14:25:40 -08:00
Michael Vines b045f9a50d codemod --extensions rs get_snapshot_tar_path get_snapshot_archive_path 2020-01-23 13:37:13 -07:00
Michael Vines ce231602dc Move snapshot archive generation out of the SnapshotPackagerService 2020-01-23 13:37:13 -07:00
Michael Vines 6f5e0cd161 Type grooming 2020-01-23 13:37:13 -07:00