dependabot-preview[bot]
2be03ca631
Bump reqwest from 0.9.21 to 0.9.22
...
Bumps [reqwest](https://github.com/seanmonstar/reqwest ) from 0.9.21 to 0.9.22.
- [Release notes](https://github.com/seanmonstar/reqwest/releases )
- [Changelog](https://github.com/seanmonstar/reqwest/blob/v0.9.22/CHANGELOG.md )
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.9.21...v0.9.22 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-14 16:33:16 -07:00
Justin Starry
6a161c740d
Stop activating stake after deactivation ( #6351 )
2019-10-14 18:40:24 -04:00
Rob Walker
c2ebf466fd
reestablish parameter semantics for withdraw ( #6330 )
2019-10-14 15:02:24 -07:00
Greg Fitzgerald
798065fc71
Better Vest code coverage ( #6329 )
...
automerge
2019-10-10 21:35:10 -07:00
Tyera Eulberg
a9276700ea
Stake program: reorder withdraw keys to allow to == authorized withdrawer ( #6314 )
...
automerge
2019-10-10 14:46:38 -07:00
Greg Fitzgerald
0f7bf28617
Allow Vest to set terminator ( #6313 )
...
* Use transport::Result instead of TransportError
* Split payer and terminator
* Add SetTerminator instruction
2019-10-10 10:25:23 -06:00
Greg Fitzgerald
10cf728e11
More object-oriented version of Vest ( #6310 )
2019-10-10 08:54:18 -06:00
Greg Fitzgerald
eca56eb87d
Add next_keyed_account() to instruction_processor_utils ( #6309 )
...
* Cleanup KeyedArguments traversal
* Better error message
* Fix clippy warning
* Rename next_arg to next_keyed_account
* Fix clippy warning
* Shorter
2019-10-10 06:30:42 -06:00
Greg Fitzgerald
33e34cbba9
Plug potential panic in Vest ( #6302 )
...
automerge
2019-10-09 16:27:49 -07:00
Rob Walker
7cf90766a3
add epoch_schedule sysvar ( #6256 )
...
* add epoch_schedule sysvar
* book sheesh!
2019-10-08 22:34:26 -07:00
Tyera Eulberg
79987e788e
Remove vote pubkey from deactivate_stake ( #6257 )
...
* Remove vote pubkey from deactivate_stake
* Fix test
* Update docs
2019-10-07 16:07:01 -06:00
Pankaj Garg
6662986169
Fix vest_api output filename ( #6253 )
...
automerge
2019-10-07 10:31:04 -07:00
Greg Fitzgerald
1c86160e16
Reorder parameters ( #6252 )
...
automerge
2019-10-07 09:42:56 -07:00
sakridge
5ef012b2c1
Tweak debug to remove unreadable datapoints ( #6060 )
2019-10-04 16:25:22 -07:00
Greg Fitzgerald
5617162cb6
Add Vest program ( #5987 )
...
automerge
2019-10-04 14:43:50 -07:00
Tyera Eulberg
0c3ff6b75c
Cli refactor: vote and storage program functionalities ( #6242 )
...
automerge
2019-10-04 14:18:19 -07:00
dependabot-preview[bot]
d759a447be
Bump serde_json from 1.0.40 to 1.0.41 ( #6226 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.40 to 1.0.41.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.40...v1.0.41 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-03 21:03:05 -06:00
Michael Vines
c1c7e0ff08
Remove reduntant semicolon
2019-10-03 16:25:00 -07:00
Michael Vines
1d503faa2c
clippy
2019-10-03 16:14:28 -07:00
Michael Vines
18c0f76f89
clippy
2019-10-03 15:59:37 -07:00
Parth
92ea11fca1
make executable, vote and stake account rent exempt ( #6017 )
...
* add missing convenience method
* require vote account to be exempt
* make stake account rent exempt
* making executable rent exempt
* rent will be initialized in genesis
* add test for update_rent
2019-10-04 02:52:48 +05:30
Michael Vines
6cb0790796
Fix crate metadata
2019-10-02 23:20:19 -07:00
dependabot-preview[bot]
7ac4ce637f
Bump reqwest from 0.9.20 to 0.9.21 ( #6221 )
...
Bumps [reqwest](https://github.com/seanmonstar/reqwest ) from 0.9.20 to 0.9.21.
- [Release notes](https://github.com/seanmonstar/reqwest/releases )
- [Changelog](https://github.com/seanmonstar/reqwest/blob/v0.9.21/CHANGELOG.md )
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.9.20...v0.9.21 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-02 22:52:48 -07:00
Michael Vines
f9f5bc2eb5
More clippy
2019-10-02 21:21:07 -07:00
Michael Vines
13fc518268
Clippy work towards rust 1.38 ( #6219 )
2019-10-02 18:04:18 -07:00
Jack May
054deb809b
Remove token program ( #6217 )
2019-10-02 14:07:23 -07:00
Jack May
865ddfc63f
fix clippy ( #6215 )
2019-10-02 13:51:54 -07:00
Jack May
315940b6a9
Bump BPF instruction cap ( #6213 )
2019-10-02 10:07:44 -07:00
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
Jack May
e8d88f3237
Split SDK's timing.rs ( #5823 )
2019-09-06 14:30:56 -07:00
dependabot-preview[bot]
f28782cb84
Bump chrono from 0.4.8 to 0.4.9 ( #5775 )
...
Bumps [chrono](https://github.com/chronotope/chrono ) from 0.4.8 to 0.4.9.
- [Release notes](https://github.com/chronotope/chrono/releases )
- [Changelog](https://github.com/chronotope/chrono/blob/master/CHANGELOG.md )
- [Commits](https://github.com/chronotope/chrono/commits/v0.4.9 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-06 13:55:36 -06:00
Jack May
d9817c153a
Switch programs to use Pubkey from SolPubkey ( #5821 )
2019-09-06 12:40:01 -07:00
Rob Walker
4a20c2aa1b
add stake and vote errors ( #5814 )
...
* add stake errors
* remove self from type_of
* sheesh
* better
* add stake errors
* update wallet error handling
* fixup
2019-09-06 10:55:03 -07:00
Jack May
e5f902369c
Rust BPF programs depend on Solana SDK ( #5819 )
2019-09-06 09:20:14 -07:00
Jack May
5fb2d7a98f
Add libstd support to Rust BPF ( #5788 )
2019-09-04 16:00:11 -07:00
Jack May
ceaf4781b0
Pull in rbpf v0.1.15 ( #5787 )
2019-09-04 14:37:51 -07:00
Rob Walker
933e835838
add stake lockup ( #5782 )
...
* add stake lockup
* fixup
2019-09-04 13:34:09 -07:00
Tyera Eulberg
b19d9a50d3
Transition to ureq http client ( #5777 )
...
* Transition to ureq http client
* Remove unwrap
2019-09-04 12:11:44 -07:00
Rob Walker
355640b5db
increase stake warmup cooldown rate to 0.25 ( #5772 )
2019-09-04 10:57:42 -07:00
Patrick Amato
2b696ac8dc
Bitcoin Payment Verification Program ( #5153 )
...
* btc_spv program directories
* add spv-instruction spv-state
* added spv_processor file
* cargo.tomls - bump versions, rm unneccessary deps
* add btc_spv_bin and top lvl workspace entry
* hex_decode util & errors
* add header parsing test
* update dependencies
* rustfmt
* refactor Requests
* fix dependencies/versions
* clippy fixes
* test improvements
* add gitignores
Add framework for the rest of the BTC-SPV stuff to be built on top of. This PR defines the components, data structures, accessors, etc. but is not quite complete. It still needs the headerstore component finished along with some of the validation utils, hashing stuff, and more tests.
2019-09-03 19:16:02 -06:00
dependabot-preview[bot]
f7e039e7ac
Bump chrono from 0.4.7 to 0.4.8 ( #5761 )
...
Bumps [chrono](https://github.com/chronotope/chrono ) from 0.4.7 to 0.4.8.
- [Release notes](https://github.com/chronotope/chrono/releases )
- [Changelog](https://github.com/chronotope/chrono/blob/master/CHANGELOG.md )
- [Commits](https://github.com/chronotope/chrono/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-03 14:49:48 -07:00
anatoly yakovenko
475f6fe666
votes only need slots and the last bank hash ( #5499 )
...
churn
cleanup
reverse test slot hashes
test check_slots_are_valid
updates
only send the minimum bank vote difference
fixup! only send the minimum bank vote difference
some banks may not have a voting account setup
fixup! votes only need slots and the last bank hash
fixup! fixup! votes only need slots and the last bank hash
fmt
fixed compare
fixed vote
fixup! fixed vote
poke ci
filter the local votes via the last bank vote
2019-09-02 12:01:09 -07:00
Jack May
50214f059f
Pull in LLVM with stack location fixes ( #5732 )
2019-08-29 11:25:22 -07:00
Jack May
2803eb0d72
Use LLVM's C builtins for BPF ( #5717 )
2019-08-28 17:19:40 -07:00
dependabot-preview[bot]
5745a54d4c
Bump indexmap from 1.0.2 to 1.1.0 ( #5706 )
...
Bumps [indexmap](https://github.com/bluss/indexmap ) from 1.0.2 to 1.1.0.
- [Release notes](https://github.com/bluss/indexmap/releases )
- [Commits](https://github.com/bluss/indexmap/compare/1.0.2...v1.1.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-28 14:20:45 -06:00
Justin Starry
6979a17674
Enabling building for bpf stack bug test program ( #5654 )
2019-08-26 17:23:21 -04:00
Justin Starry
bd20c5e791
Add test case for u128 panic ( #5601 )
...
* u128 panic
* Add test case for u128 memory out of bounds error
* Fix check
2019-08-26 16:31:06 -04:00
Jack May
b4935ff4ed
Re enable c tests ( #5634 )
2019-08-26 12:52:16 -07:00
Michael Vines
ba59741b60
Bump to 0.19.0-pre0
2019-08-25 21:47:29 -07:00
Jack May
877e7a3893
Disable C test ( #5628 )
2019-08-23 16:11:34 -07:00
Rob Walker
0ffe7a9c8f
plumb some rent ( #5610 )
...
* plumb some rent
* nits
* fixups
* fixups
* fixups
2019-08-23 14:04:53 -07:00