Jack May
a76eb64bbb
Copy all programs when starting a network ( #7069 )
2019-11-20 14:37:15 -08:00
Trent Nelson
8590326b50
Book: Add proposal for durable transaction nonces ( #6725 )
...
automerge
2019-11-20 14:33:02 -08:00
Michael Vines
b0271394cd
Clean up --gossip-port argument ( #7067 )
...
--gossip-port now specifies exactly that, the gossip port to use. The
new --gossip-host argument can be used to specify the DNS name/IP
address for gossip if --entrypoint is not supplied (when --entrypoint is
supplied, the gossip address is automatically set to the node's ip
address as observed by the entrypoint)
2019-11-20 15:21:34 -07:00
Jack May
c39633f968
nit: Circular dependency error is hard to read ( #7065 )
2019-11-20 13:13:22 -08:00
Michael Vines
1fef74b00c
Fix `solana-keygen new --force ...` ( #7064 )
...
automerge
2019-11-20 12:46:16 -08:00
Parth
9f6a2e51b2
add credit-debit rent handling ( #6947 )
...
* add credit-debit rent handling
* add tests
* charge rent for validator account for fee credit
* rent is stored per tx instead of account
2019-11-21 01:57:02 +05:30
anatoly yakovenko
b150da837a
Use epoch as the gossip purge timeout for staked nodes. ( #7005 )
...
automerge
2019-11-20 11:25:18 -08:00
Rob Walker
ba9aaee7cd
Update config.rs ( #7045 )
...
automerge
2019-11-20 11:10:46 -08:00
sakridge
3aa67969f9
Add perf module to stable-perf CI ( #7060 )
2019-11-20 10:59:56 -08:00
sakridge
d4f336db40
Fix unpin argument ( #7057 )
...
automerge
2019-11-20 10:22:26 -08:00
Jack May
d184d3a732
Merge native programs parts into one unit ( #7047 )
2019-11-20 10:12:43 -08:00
Sagar Dhawan
42da1ce4e2
Fix bank hash not changing when no internal state has changed ( #7052 )
...
* Fix bank hash not changing when no internal state has changed
* Fix unnecessary call to hash_internal_state
* Add blockhash into the bank_hash
* Add blockhash into the bank_hash and update tests
* Refactor accounts_db slot_hashes
* More clarity in comments
* Add clippy suggestion
* Grammar
* Fix compile after clippy made me break it
* Schooled by clippy
2019-11-19 20:19:43 -08:00
Jack May
d2ed921bc6
Cleanup nightly warnings ( #7055 )
2019-11-19 20:15:37 -08:00
Pankaj Garg
d32a072190
Use ticks_per_slot to calculate maximum grace ticks ( #7024 )
...
* Use ticks_per_slot to calculate maximum grace ticks
* fix test
* fix votable candidate ordering
* fixes to pick_best_fork() and a unit test
* fixes
2019-11-19 17:55:42 -08:00
Justin Starry
95c137158f
Fix gce.sh info ( #7054 )
...
automerge
2019-11-19 17:49:25 -08:00
Michael Vines
7151b92239
Don't create keypair files with r+go ( #7051 )
2019-11-19 18:26:21 -07:00
Tyera Eulberg
716caeb17c
Use camelCase ( #7050 )
...
automerge
2019-11-19 14:55:32 -08:00
Michael Vines
f8e4bdd23d
--bootstrap-storage-pubkey is now optional ( #7049 )
...
automerge
2019-11-19 14:35:56 -08:00
b-harvest
55dfd03007
wrong calculation ( #7028 )
...
matcher takes 2 B tokens as profit because amount of price difference is (7-6)*2B = 2B
2019-11-19 14:47:29 -07:00
Tyera Eulberg
854fc8d552
Add getConfirmedBlock to json-rpc docs ( #7046 )
2019-11-19 14:00:15 -07:00
Sagar Dhawan
f2badf2c5d
Fix a bug where gossip loops forever while splitting messages ( #7032 )
...
* Fix a bug where gossip loops forever while splitting messages
* Get rid of while loop
* Minor clean up and rename
2019-11-19 11:51:51 -08:00
Tyera Eulberg
ea656b1a3f
Add parent slot to getConfirmedBlock ( #7038 )
...
* Add parent slot to getConfirmedBlock
* Fix bad text-replace
* Use camelCase in getConfirmedBlock
2019-11-19 09:39:55 -07:00
Tyera Eulberg
5b7bd24f0a
Remove duplicated args ( #7036 )
2019-11-19 09:10:54 -07:00
Dan Albert
2d7c7b0982
Fix missed rebase on net.sh ( #7037 )
2019-11-19 10:22:30 -05:00
Dan Albert
b958bf9086
Fix confirmation metrics ( #7035 )
2019-11-19 09:51:50 -05:00
carllin
43144cfe8b
Make banks that fail threshhold check resettable ( #7027 )
2019-11-19 02:36:30 -08:00
carllin
11d2d2eccd
Fix progress map losing banks and recomputing stats ( #7026 )
...
* Fix progress map missing banks
* Fix confirmations
* Fix test
* Initialiize progress with frozen banks atartup
2019-11-19 02:36:00 -08:00
Michael Vines
e22f89853f
Consider `CI_TAG=` to be the same as `unset CI_TAG`
2019-11-18 23:43:38 -07:00
Ryo Onodera
7ccc029f77
Make solana ping take optional lamports argument ( #7029 )
...
* Make solana ping take optional lamports argument
* Use clap's default_value
2019-11-19 14:50:09 +09:00
Michael Vines
0eb78e461d
Relax requirement that the entrypoint node runs the RPC service ( #7019 )
2019-11-18 21:43:14 -07:00
Parth
3615209ce7
don't allow assignment to sysvar program ( #7017 )
...
automerge
2019-11-18 19:39:29 -08:00
Sagar Dhawan
6bfe0fca1f
Add a version field to shreds ( #7023 )
...
* Add a version field to shreds
* Clippy
* Fix Chacha Golden
* Fix shredder bench compile
* Fix blocktree bench compile
2019-11-18 18:05:02 -08:00
Greg Fitzgerald
bfa2535ea1
Add non-fungible token program ( #7007 )
...
* Add non-fungible token program
* Remove issuer and id from state
* Boot NftInstruction and NftState
* Rename NFT to Ownable
Maybe this should be "Owned" to avoid confusion with an Ownable trait?
* Rename directory
* Delete unreachable branch
* Don't use copy_from_slice - need an error, not a panic.
* Rename contract_pubkey to account_pubkey
2019-11-18 18:09:42 -07:00
Jack May
6ec918fabb
Update Move support to accomadate Libra's changes to compiler behavior ( #6993 )
2019-11-18 16:47:01 -08:00
Rob Walker
cbf7c0080b
fix split instruction doc ( #7022 )
2019-11-18 15:31:17 -08:00
Pankaj Garg
a6196901de
Generate net-shaper configuration from stdin, or randomly ( #7021 )
2019-11-18 14:47:07 -08:00
Greg Fitzgerald
c09469fa3a
Rename verify_instruction() to verify_account_changes() ( #7020 )
2019-11-18 15:01:14 -07:00
Justin Starry
3acd84d9c0
Allow creating an vote program ix where the withdrawer is also the "to" account ( #6992 )
...
automerge
2019-11-18 12:43:47 -08:00
Parth
c902fd0303
skip sysvars while assessing rent ( #7015 )
...
* skip sysvars while assessing rent
2019-11-19 01:31:27 +05:30
Pankaj Garg
955aaef2e6
Fixes to net-shaper and net.sh ( #7002 )
...
* Fixes to net-shaper and net.sh
* fixes to default filters and cleanup
2019-11-18 11:33:33 -08:00
Tyera Eulberg
e0a2bb9d86
Legitimately map transactions to statuses in blocktree ( #7011 )
...
* Refactor rocksdb TransactionStatus to store/return struct; hook up map_transactions_to_statuses
* Cleanup use statements
2019-11-18 09:12:42 -07:00
Tyera Eulberg
3bc8d78801
Add ConfirmedBlock struct, and rework Blocktree apis to include block… ( #7004 )
...
* Add RpcConfirmedBlock struct, and rework Blocktree apis to include blockhash info and dummy tx statuses
* Remove unused lifetime
2019-11-17 20:17:15 -07:00
carllin
b66c03667c
Log for threshold failure ( #7008 )
2019-11-17 17:10:16 -08:00
Dan Albert
6e04a646ba
Gossip entrypoint is now option of spy not solana-gossip ( #7006 )
2019-11-17 11:36:24 -05:00
Sunny Gleason
086e5da8d0
feat: add TransactionStatus column family and test ( #6958 )
2019-11-17 11:26:01 -05: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
c3926e6af0
|solana-gossip spy| no longer requires an entrypoint ( #6999 )
2019-11-16 14:16:28 -07:00
carllin
70322d1ff8
Add error logging to dead slots ( #7000 )
2019-11-16 02:54:51 -08:00
carllin
7c32640a9b
Set index and set data should write into shred data ( #6995 )
2019-11-16 02:41:59 -08:00
Ryo Onodera
5ad09afc15
Improve run.sh for better developer experience ( #6945 )
...
* run.sh: Create genesis file for ad-hoc validators
* run.sh: Prefer release under NDEBUG
* run.sh: Add sanity test for run.sh
* run.sh: Conditionally re-gen drone and faucet keys
* Make shellcheck happy
* Address code review comments
* Clean up a bit
2019-11-16 15:56:29 +09:00