186 Commits

Author SHA1 Message Date
Greg Fitzgerald
09686290bc
Grant custodian access to all locked up accounts (#8139) 2020-02-06 14:31:27 -07:00
Greg Fitzgerald
6d0be323ad
Update key (#8062)
automerge
2020-01-31 11:11:22 -08:00
Michael Vines
fdcaad96c7
Remove stray key 2020-01-26 14:35:33 -07:00
Greg Fitzgerald
3aabeb2b81
Rename bootstrap leader (#7906)
* Rename bootstrap leader to bootstrap validator

It's a normal validator as soon as other validators enter the
leader schedule.

* cargo fmt

* Fix build

Thanks @CriesofCarrots!
2020-01-22 09:22:09 -07:00
Dan Albert
5947ef7706
Remove word pair from address generator seed string (#7802)
* Remove word pair from address generator seed string
2020-01-15 13:50:37 -05:00
Michael Vines
4f663a2a86 Add new genesis validators (#7814)
automerge
2020-01-15 09:26:49 -08:00
Michael Vines
50c1c08235 Set bootstrap leader and net/ validator vote account commission to 100% 2020-01-15 00:25:26 -07:00
Greg Fitzgerald
b5dba77056 Rename blocktree to blockstore (#7757)
automerge
2020-01-13 13:13:52 -08:00
Michael Vines
70e1a15973 Remove vote account from genesis validators 2020-01-08 22:47:56 -07:00
Michael Vines
4b3bc587ab Add input validation for --creation-time/--lockup-date args (#7646)
automerge
2019-12-30 21:57:47 -08:00
Tyera Eulberg
6ca575b5a3 Make sol-to-lamport const name more clear (#7641)
automerge
2019-12-30 11:28:41 -08:00
Rob Walker
e0564f628e
Use lamports in genesis (#7631)
* Use lamports in genesis

* readability
2019-12-28 12:49:10 -08:00
Greg Fitzgerald
10e6b8f769 Fix key in genesis (#7585) 2019-12-22 22:40:35 -07:00
Rob Walker
3f405d8908
Add unix_timestap to stake lockups (#7569) 2019-12-19 14:37:47 -08:00
Rob Walker
282667c4b5
Update genesis addrgen to system_instruction create_address_with_seed (#7539) 2019-12-17 15:14:59 -08:00
Rob Walker
777ae3c215
Add time since genesis to sysvar::clock (#7289)
* genesis timestamp

* remove clock::create_account()

* ..

* add configure-able creation time

* dividing by 1T, should be dividing by 1B
2019-12-12 14:03:43 -08:00
Rob Walker
39cd6dff7d
turn on rent (#7368)
* turn on rent

* add rent exempt balances for bootstrap accounts

* use Rent::free() when not testing rent
2019-12-09 21:56:43 -08:00
Rob Walker
32d6d811c5
no lockups for community (#7366) 2019-12-08 20:21:07 -08:00
Rob Walker
0d6fca5abc
500M SOL (#7361)
* 500_000_000MM SOL

* fixup
2019-12-08 14:36:09 -08:00
Michael Vines
48a085c28f Add argument to configure the authorized pubkey for the bootstrap leader's stake (#7362)
automerge
2019-12-08 13:08:35 -08:00
Greg Fitzgerald
62810d769a
Account for all tokens at genesis (#7350)
* Towards accounting for all tokens

* Move 5m tokens back into the big pool

* Flesh out batch 4

* Add a script to generate ValidatorInfo structs from a CSV file

* Remove commented out code and improve test
2019-12-08 09:17:42 -07:00
Michael Vines
5253c27ca8 Add Forbole ValidatorInfo (#7355)
automerge
2019-12-07 22:45:58 -08:00
Michael Vines
6469606baf Add Stake Capital ValidatorInfo (#7346)
automerge
2019-12-07 01:07:03 -08:00
Greg Fitzgerald
8a908a6864 Add more pool tokens (#7338)
automerge
2019-12-06 16:54:02 -08:00
Greg Fitzgerald
2d6ed7142f
Fix typo (#7336) 2019-12-06 16:48:16 -07:00
Michael Vines
fe96f85410
Update name 2019-12-06 10:15:35 -07:00
Michael Vines
275fab003f
Add ChainFlow ValidatorInfo 2019-12-06 09:22:35 -07:00
Greg Fitzgerald
edfb386ef0 Add pools (#7324) 2019-12-06 09:20:32 -07:00
Michael Vines
178854ac97
Add RockX ValidatorInfo (#7310) 2019-12-05 19:06:56 -07:00
Michael Vines
422eab5846
Add ChorusOne ValidatorInfo (#7306) 2019-12-05 15:39:27 -07:00
Rob Walker
d8e1a196bc
more genesis (#7291) 2019-12-05 08:30:34 -08:00
Michael Vines
eabd23fc07
Import validators (#7282) 2019-12-04 18:26:57 -07:00
Rob Walker
e2f07a5220
bs58 (#7252) 2019-12-03 22:18:12 -08:00
Rob Walker
369f37a0a4
genesis validators (#7235)
* genesis validators

* slp1 nodes get 500SOL

* no commission
2019-12-03 20:44:02 -08:00
Parth
ba688cf629
enforce proper range for rent burn_percent (#7217)
* enforce proper range for burn_percent
2019-12-04 00:54:01 +05:30
Rob Walker
f9df17d8d0
track bank size (#7144)
* track bank size

* support non-linux a bit better
2019-12-02 13:47:20 -08:00
Rob Walker
8d75efdc58
genesis config hashmaps (#7107) 2019-11-26 19:23:37 -08:00
Tyera Eulberg
58c144ee55
Add getBlockTime rpc api (#7130)
* Add getBlockTime rpc api

* Add getBlockTime to docs

* Fix duration rounding for common tick/slot durations; add slot duration calculation

* Expose slots_per_year

* Use genesis values instead of clock defaults to calculate block offset

* Add get-block-time cli subcommand

* Fix test_rent: decrease magic number usage
2019-11-26 00:40:36 -07:00
Rob Walker
ef64f00cbb
Revert "Revert "add genesis stake placeholders (#6969)" (#7109)" (#7124)
This reverts commit 702f7cc51d54294002b997834f9337caa7a3bdce.
2019-11-25 15:11:55 -08:00
anatoly yakovenko
702f7cc51d Revert "add genesis stake placeholders (#6969)" (#7109)
* Revert "add genesis stake placeholders (#6969)"

This reverts commit 8a879faac7b3a312808faff61f79f297862cab22.

* fixup! Revert "add genesis stake placeholders (#6969)"

* fixup! fixup! Revert "add genesis stake placeholders (#6969)"

* fixup! fixup! fixup! Revert "add genesis stake placeholders (#6969)"

* fixup! fixup! fixup! fixup! Revert "add genesis stake placeholders (#6969)"

* fmt
2019-11-23 23:15:21 -07:00
Rob Walker
8a879faac7
add genesis stake placeholders (#6969)
* add investor stake placeholders

fixups

fixups

review comments, fixups

make more data-looky for easier management

rent may be zero

rework with more tables, derived keys

fixups

rebase-fix

fixups

fixups

* genesis is now too big to boot in 10 seconds
2019-11-21 12:05:31 -08:00
Ryo Onodera
8cbc450192 Create genesis.tar.bz2 in solana-genesis (#7039)
* Use clap_utils

* Create genesis.tar.bz2 in solana-genesis

* Remove shell-based genesis.tar.bz2 generation

* Make Option=>Result conv more rusty

* stop using solana_logger

* Simplify by just using vec!

* clean up abit
2019-11-21 10:57:27 -07:00
Jack May
3415db9739
Merge api/program into single units (#7061) 2019-11-20 16:32:19 -08:00
Jack May
d184d3a732
Merge native programs parts into one unit (#7047) 2019-11-20 10:12:43 -08:00
Michael Vines
f8e4bdd23d --bootstrap-storage-pubkey is now optional (#7049)
automerge
2019-11-19 14:35:56 -08:00
sakridge
c1b06817a2
Add non-dev value for slots_per_epoch and use that as default (#6984)
When --dev flag is not passed.
2019-11-16 20:53:54 -08:00
Michael Vines
5ab70c4e97
genesis: rename mint account to faucet account and make it optional (#6990) 2019-11-15 14:50:26 -07:00
Dan Albert
946e937549
Create development vs softlaunch environment hooks into net scripts (#6974) 2019-11-15 15:18:45 -05:00
Michael Vines
892ca196f1
Improve error message when unable to read a file (#6978) 2019-11-15 10:39:05 -07:00
Michael Vines
e7f63cd336
Upgrade to rust 1.39.0 (#6939)
* Upgrade to rust 1.39.0

* 1.39.0 clippy
2019-11-14 12:27:01 -07:00