Jack May
669502ede7
Don't depend on user modifiable data to parse paramter buffer ( #8022 )
2020-01-29 21:49:42 -08:00
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
Rob Walker
e6803daf10
Remove support for stake redelegation ( #7995 )
...
* Remove support for stake redelegation
* fixup
2020-01-29 17:59:14 -08:00
Rob Walker
0d6c233747
Add set_lockup to stake ( #7997 )
2020-01-28 20:59:53 -08:00
Jack May
7faab2072c
Cleanup BPF use syntax ( #8001 )
2020-01-28 17:03:37 -08:00
Jack May
1596c961d9
Rust BPF program cleanup ( #7990 )
2020-01-27 18:27:44 -08:00
Dan Albert
c324e71768
Bump cargo toml versions to 0.24.0 ( #7976 )
2020-01-25 11:04:27 -06: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
Jack May
c95e5346a4
Boot the mut ( #7926 )
2020-01-22 17:54:06 -08:00
Rob Walker
1e2b55c0d7
Remove RedeemVoteCredits ( #7916 )
...
* Move redeem_vote_credits into runtime
* Move redeem_vote_credits into runtime
* Remove RedeemVoteCredits
* chugga for less indentation
* resurrect NoCreditsToRedeem
* fixup
2020-01-22 16:53:42 -08:00
Rob Walker
ce70d6eedc
Add redeem_vote_credits to runtime ( #7910 )
...
* Move redeem_vote_credits into runtime
* fixup
* test
* move stake manipulation to stake program
* chugga for less indentation
2020-01-22 12:21:31 -08:00
Jack May
023074650f
Allow the same account to be passed multiple times to a single instruction ( #7795 )
2020-01-22 09:11:56 -08:00
Rob Walker
7e1b380f01
Move vote_state current credits into epoch_credits ( #7909 )
...
* Move vote_state current credits into epoch_credits
* fixups
* fixup
2020-01-21 19:08:40 -08:00
Jack May
1a18f0ca55
Add rust duplicate account test program ( #7897 )
...
automerge
2020-01-21 10:59:19 -08:00
Jack May
bb950ec93e
Naming nits ( #7896 )
...
automerge
2020-01-21 10:38:46 -08:00
Tyera Eulberg
21d5fe6272
Fix timestamp overflow ( #7886 )
...
* Split timestamp calculation into separate fn for math unit testing
* Add failing test
* Fix failing test; also bump stakes to near expected cluster max supply
* Don't error on timestamp of slot 0
2020-01-20 17:54:44 -07:00
Rob Walker
cc299053cc
Add support for stake::split() via create_account_with_seed() ( #7879 )
...
* Add split with seed
* move to new system_program APIs
* de-replicode
2020-01-20 12:33:27 -08:00
Rob Walker
f5e797e3aa
cleanup test checks cargo audit ( #7849 )
...
automerge
2020-01-16 15:08:36 -08:00
Jack May
08ba27627d
Direct entrypoint for execution ( #7746 )
2020-01-10 13:20:15 -08:00
Jack May
b714a4be63
Fix call to BPF build script ( #7754 )
...
automerge
2020-01-10 10:28:55 -08:00
Jack May
2d08dddfc8
nit, cleanup uses ( #7747 )
...
automerge
2020-01-09 23:58:13 -08:00
Jack May
6da8f49d8b
nit, clearer error message ( #7748 )
...
automerge
2020-01-09 23:53:47 -08:00
Justin Starry
e90a31781c
Update http crate in bpf program to fix security vulnerability ( #7735 )
2020-01-10 10:21:20 +08:00
dependabot-preview[bot]
cf32fdf672
Bump reqwest from 0.10.0 to 0.10.1 ( #7731 )
...
Bumps [reqwest](https://github.com/seanmonstar/reqwest ) from 0.10.0 to 0.10.1.
- [Release notes](https://github.com/seanmonstar/reqwest/releases )
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.10.0...v0.10.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-09 17:10:55 -07:00
Jack May
09cff5e4cc
Cleanup usage of feature "program" ( #7712 )
2020-01-08 13:49:35 -08:00
dependabot-preview[bot]
57858b8015
Bump reqwest from 0.9.24 to 0.10.0 ( #7642 )
...
* Bump reqwest from 0.9.24 to 0.10.0
Bumps [reqwest](https://github.com/seanmonstar/reqwest ) from 0.9.24 to 0.10.0.
- [Release notes](https://github.com/seanmonstar/reqwest/releases )
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/seanmonstar/reqwest/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Make reqwest::blocking specific
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
2020-01-08 13:31:43 -07:00
Jack May
07855e3125
Allow override of RUST_LOG ( #7705 )
2020-01-08 09:19:12 -08:00
Rob Walker
8dad3af36d
Update Lockup comments ( #7692 )
2020-01-06 19:52:20 -08:00
Jack May
a956bb08d8
Export bpf loader ser/de ( #7661 )
2020-01-02 18:18:56 -08:00
Rob Walker
63f185f9bf
Delete unused type ( #7653 )
2020-01-02 13:15:31 -08:00
Rob Walker
e97b0088f2
Make lockups block stake transfers via rekeying ( #7651 )
2020-01-01 11:03:29 -08:00
Rob Walker
6b7d9942a7
Add authorized_voter history ( #7643 )
...
* Add authorized_voter history
* fixups
* coverage
* bigger vote state
2019-12-30 19:57:53 -08:00
Rob Walker
e1ebaa902b
Add base pubkey to create_account_with_seed ( #7636 )
2019-12-29 16:42:24 -08:00
Michael Vines
89f5f336af
Account for rent ( #7626 )
...
automerge
2019-12-24 18:01:21 -08:00
Rob Walker
120c8f244c
Add slot_history for slashing ( #7589 )
...
* Add slot_history for slashing
* fixup
* fixup
2019-12-23 12:23:45 -08:00
Dan Albert
ca10cf081f
Update cargo.toml files from 0.22.0 to 0.23.0 ( #7596 )
2019-12-20 21:45:42 -05:00
Rob Walker
a7040896f0
Update to rust 1.40.0 ( #7572 )
...
* Update to rust 1.40.0
* fixups
2019-12-19 23:27:54 -08:00
Rob Walker
3f405d8908
Add unix_timestap to stake lockups ( #7569 )
2019-12-19 14:37:47 -08:00
Tyera Eulberg
f03ed9f5bf
Add helper fn and runtime test ( #7516 )
2019-12-16 17:02:40 -07:00
Rob Walker
b22dc38ba1
Add support for split of 100% of stake ( #7510 )
2019-12-16 15:56:34 -08:00
Rob Walker
7a7992ab0b
update bpf Cargo_lock ( #7512 )
2019-12-16 13:47:45 -08:00
dependabot-preview[bot]
7ad64c8d45
Bump serde from 1.0.103 to 1.0.104
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.103 to 1.0.104.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.103...v1.0.104 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-16 08:50:09 -07:00
Tyera Eulberg
6b88da2b82
Hook up getBlockTime rpc to real data ( #7476 )
...
* Add blocktree timestamp helper functions and tests
* Flesh out blocktree::get_block_time
* Move stakes up into rpc to make testing easier; expand tests
* Review comments
2019-12-14 12:23:02 -07:00
Rob Walker
f05860672c
Add create-address-with-seed to solana-cli ( #7472 )
...
* Add create account with seed to cli
* clippy
* fixup
2019-12-14 04:38:24 -08:00
Rob Walker
f5137028fa
Update stake_instruction.rs
2019-12-13 12:53:25 -08:00
Michael Vines
48f9b2fdcc
watchtower: Add Slack/Discord sanity failure notification ( #7467 )
...
automerge
2019-12-12 23:49:16 -08:00
Michael Vines
f7a87d5e52
Add vote-update-validator subcommand
2019-12-12 23:26:39 -07:00