Jack May
520f7c3e18
Optimize BPF logs ( #6186 )
2019-09-30 14:21:29 -07:00
Rob Walker
4f4618441c
split wallet staking commands ( #6168 )
...
* split wallet staking commands
* elide real home
* unit->UNIT for usage
* unit->UNIT, don't try to run SUBCOMMANDS: ;)
* more fixup
* fixups
* actually check
* shellcheck
* preserve #6158 after rebase
* fixup
* test
* too hard
* remove test
2019-09-29 21:18:15 -07:00
dependabot-preview[bot]
f14bc0bb59
Bump num-derive from 0.2.5 to 0.3.0 ( #6165 )
...
Bumps [num-derive](https://github.com/rust-num/num-derive ) from 0.2.5 to 0.3.0.
- [Release notes](https://github.com/rust-num/num-derive/releases )
- [Changelog](https://github.com/rust-num/num-derive/blob/master/RELEASES.md )
- [Commits](https://github.com/rust-num/num-derive/compare/num-derive-0.2.5...num-derive-0.3.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-27 20:20:57 -06:00
Jack May
c50d2a6311
Update solana_rbpf to v0.1.18 ( #6170 )
...
* Update solana_rbpf to v0.1.18
* lock
2019-09-27 19:17:12 -07:00
Michael Vines
f57e48a209
Avoid storing epoch 0 credits if no credits where earned in epoch 0 ( #6132 )
2019-09-26 20:57:35 -07:00
Rob Walker
57dc46fcfe
staking rewards reinvestment ( #6129 )
2019-09-26 15:57:18 -07:00
Rob Walker
a964570b1a
add authorities to stake init ( #6104 )
...
* add authorities to stake init
* fixups
* code review
2019-09-26 13:29:29 -07:00
Rob Walker
50bbe34b66
rename locktower to tower ( #6120 )
2019-09-26 13:29:05 -07:00
Rob Walker
43795193c4
add authorized parameters to vote api ( #6072 )
...
* add authorized parameters to vote api
* code review
2019-09-25 13:53:49 -07:00
dependabot-preview[bot]
62429585ba
Bump bincode from 1.1.4 to 1.2.0 ( #6065 )
...
Bumps [bincode](https://github.com/servo/bincode ) from 1.1.4 to 1.2.0.
- [Release notes](https://github.com/servo/bincode/releases )
- [Commits](https://github.com/servo/bincode/compare/v1.1.4...v1.2.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-25 14:44:29 -06:00
Jack May
03dc4a20a1
Single threaded LLD ( #6088 )
2019-09-25 07:44:33 -07:00
Justin Starry
94f0c081a6
Fix staker / voter credit redemption ( #6074 )
...
* Fix staker / voter credit redemption
* Rename variables
2019-09-24 22:58:31 -04:00
Tyera Eulberg
7babfd00c1
Revert back to reqwest, using rustls feature ( #6041 )
...
* Revert back to reqwest, using rustls feature
* Cargo.lock and crate-features
* Ignore test
2019-09-24 14:10:59 -06:00
Pankaj Garg
4f59077318
Fix vote metrics ( #6038 )
...
automerge
2019-09-23 18:09:20 -07:00
Dan Albert
9c9991db1d
Update cargo toml and lock files to v0.20.0 ( #6016 )
2019-09-22 21:45:56 -04:00
Michael Vines
261b869e27
Update book links to gitbook
2019-09-20 16:06:36 -07:00
Michael Vines
d6d5b4429c
Remove \r
2019-09-20 16:04:55 -07:00
Michael Vines
a60a3efc1a
Revert "require stake, vote and executable accounts to be rent exempt ( #5928 )" ( #6005 )
...
This reverts commit 11e6197a83
.
2019-09-20 14:10:39 -07:00
sakridge
19ae556857
hash account state on store ( #5573 )
2019-09-20 13:21:12 -07:00
Jack May
abaccd6882
Pull in Rust-BPF v0.1.6 ( #5997 )
...
automerge
2019-09-20 11:21:01 -07:00
Patrick Amato
3fe54206aa
Btc spv - variable int improvements ( #5990 )
...
* var_int tests
* variable int fix
* moved tests
2019-09-20 10:57:57 -06:00
dependabot-preview[bot]
8eab673b1c
Bump serde from 1.0.100 to 1.0.101 ( #5994 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.100 to 1.0.101.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.100...v1.0.101 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-20 07:05:16 -06:00
Parth
11e6197a83
require stake, vote and executable accounts to be rent exempt ( #5928 )
...
* require vote account to be exempt
* make stake account rent exempt
* add rent exempted system instruction
* use rent exemption instruction in vote and stake api
* use rent exempted account while creating executable account
* updating chacha golden hash as instruction data has changed
* rent will be initialized for genesis bank too
2019-09-20 16:52:17 +05:30
dependabot-preview[bot]
e83f6332bf
Bump serde_derive from 1.0.100 to 1.0.101 ( #5945 )
...
Bumps [serde_derive](https://github.com/serde-rs/serde ) from 1.0.100 to 1.0.101.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.100...v1.0.101 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-18 21:29:40 -07:00
Jack May
0d16db2d1b
Remove bloat due to test symbols ( #5965 )
2019-09-18 19:54:10 -07:00
Patrick Amato
10565277d6
btc-spv transaction parsing ( #5858 )
...
* Transaction and input parsing/decoding + utils
* Transaction input & output parsing
* public struct members, tx parsing test
* format and clippy fixes
* update block data/test material fetching utils
* update tx parsing tests
* format changes
* rename for consistency
2019-09-18 20:30:27 -06:00
Jack May
958cbe688b
Dump debug version of BPF shared object ( #5937 )
2019-09-18 16:34:22 -07:00
Greg Fitzgerald
365fe70f77
Delete dead code ( #5948 )
2019-09-18 16:09:10 -06:00
Rob Walker
0d4a2c5eb0
simplify poh recorder => broadcast channel ( #5940 )
...
* simplify poh recorder broadcast channel
* fixup
* fixup
2019-09-18 12:16:22 -07:00
Jack May
c90595cba1
Cleanup nits ( #5914 )
2019-09-17 10:21:22 -07:00
Parth
d63518a835
Rent tangential stuff ( #5910 )
...
* rename rent.rs to rent_calculator.rs
* add rent sysvar
* integrate rent_calculator with bank
* rent_calculator integration with genesis
* add test for rent sysvar
2019-09-17 17:12:55 +05:30
Rob Walker
bd19fe5909
add custodian to stake ( #5900 )
...
* add custodian to stake
* nits
2019-09-16 17:47:42 -07:00
dependabot-preview[bot]
bc2141fbe0
Bump ureq from 0.11.0 to 0.11.1 ( #5905 )
...
Bumps [ureq](https://github.com/algesten/ureq ) from 0.11.0 to 0.11.1.
- [Release notes](https://github.com/algesten/ureq/releases )
- [Commits](https://github.com/algesten/ureq/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-16 16:51:45 -06:00
Jack May
f5964b4f3c
unable to reproduce linkage issue ( #5912 )
2019-09-16 14:35:58 -07:00
Jack May
167adff22c
Strip ELF files ( #5898 )
2019-09-16 11:11:33 -07:00
Michael Vines
2b43b117dc
Demote vote-native datapoint from warn to info ( #5911 )
2019-09-16 10:12:55 -07:00
Tyera Eulberg
5dceeec1ca
Add authorize_staker functionality ( #5880 )
...
* Add authorized_staker functionality
* Generalize authorize names; implement for Lockup
* Fix authorize() usage and improve tests
2019-09-12 20:03:28 -06:00
Jack May
176c7d8b13
Pull all the Rust BPF tests into a single workspace so they share dependencies ( #5878 )
2019-09-11 14:55:58 -07:00
Rob Walker
92d2452f33
redelegate stake ( #5868 )
...
* redelegate stake
* boil this down to just delegate(), which can be offered any number of times
2019-09-11 09:48:29 -07:00
Jack May
1853771930
Add support for SDK sysvar types ( #5876 )
2019-09-10 18:53:02 -07:00
Jack May
008dcd71b9
BPF loader message nits ( #5870 )
2019-09-10 16:13:23 -07:00
dependabot-preview[bot]
294d531e0b
Bump serde_derive from 1.0.99 to 1.0.100 ( #5864 )
...
automerge
2019-09-10 13:31:11 -07:00
dependabot-preview[bot]
0d7efe5176
Bump serde from 1.0.99 to 1.0.100 ( #5862 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.99 to 1.0.100.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.99...v1.0.100 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-10 12:27:41 -07:00
Rob Walker
b881029de3
make voter_pubkey a function of epoch ( #5830 )
...
* make voter_pubkey a function of epoch
* fixups
2019-09-09 18:17:32 -07:00
Jack May
61fe1aa9cf
SDK cleanup to reduce featurization ( #5856 )
2019-09-09 16:38:52 -07:00
Jack May
a317e9513f
Add sysvar support ( #5838 )
2019-09-09 10:55:35 -07:00
sakridge
b35c022629
More types ( #5846 )
...
automerge
2019-09-08 11:13:59 -07:00
Jack May
1833db51a5
Cleanup program account def ( #5833 )
2019-09-06 17:32:14 -07:00
Justin Starry
81c36699c4
Add support for BPF program custom errors ( #5743 )
...
* Add support for BPF program custom errors
* Rename SOL_SUCCESS -> SUCCESS
2019-09-06 16:05:01 -07:00
Jack May
4c4b7d39b8
Cleanup program's ProcessInstruction ( #5828 )
2019-09-06 14:44:41 -07:00