Commit Graph

12097 Commits

Author SHA1 Message Date
Ludo Galabru
52abe03a5e Whitelist RPC call required by faucet 2020-05-26 15:38:27 -04:00
Ludo Galabru
f2dedf7dbc Increase verbosity, introduce DYNAMIC_GENESIS_TIMESTAMP and STATIC_GENESIS_TIMESTAMP 2020-05-26 15:37:03 -04:00
Ludo Galabru
1f00d6bb56 Merge branch 'master' into feature/block-heigh-hard-cap 2020-05-26 15:33:58 -04:00
Ludo Galabru
57f070775c Merge pull request #1618 from blockstack/fix/blocks-for-miner
Fix miner's allocation
2020-05-21 20:12:33 -04:00
Ludo Galabru
4746048357 Fix miner's allocation 2020-05-21 19:58:41 -04:00
Aaron Blankstein
7ccaf617fc Merge pull request #1616 from blockstack/fix/1614
stacks-node: explicitly add a second output for VRF registers
2020-05-21 15:53:41 -05:00
Aaron Blankstein
262a58d2e9 fix: 1614 by explicitly adding a second output for VRF registers 2020-05-21 12:22:51 -05:00
Aaron Blankstein
903fb14e48 Merge pull request #1516 from blockstack/feat/neon-microblocks
Neon Microblocks
2020-05-20 17:05:15 -05:00
Aaron Blankstein
f6dcdd83ee address feedback 2020-05-20 16:29:56 -05:00
Aaron Blankstein
de376ec291 Merge branch 'master' into feat/neon-microblocks 2020-05-20 16:01:14 -05:00
Ludo Galabru
cf08187c5f Merge pull request #1605 from blockstack/fix/faucet-boot
Refactor initial coinbases allocations
2020-05-20 11:39:39 -04:00
Ludo Galabru
b0e75b1276 Refactor initial coinbases allocations 2020-05-20 00:23:13 -04:00
Aaron Blankstein
a94119e39e Merge pull request #1603 from psq/patch-1
fix typo in `contract-call?` doc
2020-05-19 12:07:35 -05:00
Pascal
33e9c424ce fix typo in contract-cal? doc 2020-05-19 00:11:54 -07:00
Aaron Blankstein
e911500fd1 Merge pull request #1601 from blockstack/feat/build-git-hash
Add git hash to --version / version outputs
2020-05-18 19:10:05 -05:00
Jude Nelson
c84bdcf71c Merge pull request #1596 from blockstack/feature/net-p2p-pingback
Feature/net p2p pingback
2020-05-18 23:40:25 +00:00
Jude Nelson
229391593f make NEIGHBOR_REQUEST_TIMEOUT configurable and use cmp::min/max 2020-05-18 19:41:37 -04:00
Aaron Blankstein
3827c9441f more info in version string, only need one build script 2020-05-18 14:15:50 -05:00
Aaron Blankstein
00731a69cc feat: add git hash to --version / version outputs 2020-05-18 12:41:59 -05:00
Jude Nelson
a4ddf2e7db Merge branch 'master' into feature/net-p2p-pingback 2020-05-18 10:59:04 -04:00
Jude Nelson
71f9b53608 fix failing test 2020-05-18 10:50:37 -04:00
Jude Nelson
5dda11c89e into_iter() 2020-05-18 10:50:20 -04:00
Reed Rosenbluth
821524132f Merge pull request #1592 from reedrosenbluth/feat/stx-balance
Clarity function 'stx-get-balance' for retrieving balance of STX address
2020-05-18 08:45:29 -06:00
Jude Nelson
c2ea0d9701 Merge pull request #1597 from blockstack/fix/poll-too-many-peers-crash
Fix/poll-too-many-peers-crash
2020-05-18 14:00:25 +00:00
Aaron Blankstein
10d3084882 Merge pull request #1594 from blockstack/fix/as-max-len-typing
Fix #1591: as-max-len should update runtime type annotation
2020-05-18 08:55:47 -05:00
Aaron Blankstein
999223ba63 typo 2020-05-18 08:19:41 -05:00
Aaron Blankstein
96468e3924 docs: improve output description of as-max-len 2020-05-18 06:27:39 -05:00
Reed Rosenbluth
e465a5f266 docs: fix stx-get-balance example output 2020-05-17 21:47:53 -06:00
Jude Nelson
2676d113d2 fix failing tests 2020-05-17 23:34:48 -04:00
Jude Nelson
a6c892c9a3 peerdb doesn't need to be &mut; add a test for HTTP 404 2020-05-17 22:24:37 -04:00
Jude Nelson
6dea29b45a handle /v2/neighbors with a RPCNeighborsInfo struct 2020-05-17 22:24:23 -04:00
Jude Nelson
28eefb62ce pass ongoing p2p conversations to http handler, so we can handle /v2/neighbors 2020-05-17 22:24:01 -04:00
Jude Nelson
2632e108b5 add RPCNeighbor and RPCNeighborInfo to flesh out what we want to return from /v2/neighbors 2020-05-17 22:23:41 -04:00
Jude Nelson
7508231e63 update /v2/neighbors to return (1) a random sample of the node's frontier, (2) all inbound connections, and (3) all outbound connections 2020-05-17 22:23:09 -04:00
Jude Nelson
a2828287c8 Merge branch 'fix/poll-too-many-peers-crash' into feature/net-p2p-pingback 2020-05-17 18:49:58 -04:00
Jude Nelson
f0c70eac96 when polling, running out of event sockets shouldn't result in an error -- it should just close the newly-accepted socket and carry on (if we didn't do this, then we would accidentally starve the p2p code since it would never get Ok(NetworkPollState)) 2020-05-17 18:47:34 -04:00
Jude Nelson
62f5a6ebb9 make max client sockets configurable (default 800) 2020-05-17 18:46:59 -04:00
Reed Rosenbluth
6c0d160b70 docs: make consistent with SIP 005 2020-05-17 14:19:04 -06:00
Jude Nelson
ecf89cc6f4 remove infinite loop condition from poller when we run out of event ID capacity 2020-05-17 16:00:49 -04:00
Jude Nelson
a138a1bf3f remove infinite loop condition from poller when we run out of event ID capacity 2020-05-17 15:57:52 -04:00
Jude Nelson
9aaa4d07a5 fix failing test 2020-05-17 01:26:49 -04:00
Jude Nelson
3051682561 Merge branch 'master' into feature/net-p2p-pingback 2020-05-17 01:03:11 -04:00
Jude Nelson
6d9fd825be fix timeout checks 2020-05-17 01:02:31 -04:00
Jude Nelson
9487011cce two major improvements to neighbor walking: pingbacks, and inbound neighbor walks. Pingbacks are when an inbound neighbor handshakes with us, and we remember to later try to handshake with them (and if we succeed, we add them to our frontier table). Inbound neighbor walks are when we start a neighbor walk using an inbound neighbor (instead of the usual outbound neighbor), in order to learn about other outbound neighbors from its neighbors. Only outbound neighbors will be added to the frontier table, though. 2020-05-17 01:01:06 -04:00
Jude Nelson
501a25fe03 document last_contact_time for Neighbor; add empty() constructor 2020-05-17 01:00:43 -04:00
Jude Nelson
1b2b89f87c add walk_inbound_ratio connection option -- the number of times we do an inbound neighbor walk to 1 outbound neighbor walk 2020-05-17 01:00:19 -04:00
Jude Nelson
a4f6bae801 update stats on both ends of a handshake, and if we're the one giving the handshake, expect the peer to ping us in at most $OUR_HEARTBEAT seconds 2020-05-17 00:59:36 -04:00
Reed Rosenbluth
41e0a17837 refactor: variable names in balance tests 2020-05-16 10:17:46 -06:00
Reed Rosenbluth
9a09eb87df fix: docs wording 2020-05-16 10:13:36 -06:00
Reed Rosenbluth
fb719a05c4 fix: update docs 2020-05-16 10:10:58 -06:00