-
Notifications
You must be signed in to change notification settings - Fork 118
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1941 from hirosystems/develop
Release v7.10.0 stable
- Loading branch information
Showing
103 changed files
with
5,071 additions
and
1,504 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
version: '3.7' | ||
services: | ||
stacks-blockchain: | ||
image: "hirosystems/stacks-api-e2e:stacks3.0-800259e" | ||
image: 'hirosystems/stacks-api-e2e:stacks3.0-4d11d85' | ||
restart: on-failure | ||
environment: | ||
STACKS_EVENT_OBSERVER: host.docker.internal:3700 | ||
BLOCKSTACK_USE_TEST_GENESIS_CHAINSTATE: 1 | ||
NOP_BLOCKSTACK_DEBUG: 1 | ||
ports: | ||
- "20443:20443" | ||
- "20444:20444" | ||
- '20443:20443' | ||
- '20444:20444' | ||
volumes: | ||
- ../stacks-blockchain/:/app/config | ||
- ../stacks-blockchain/.chaindata:/tmp/stacks-blockchain-data | ||
extra_hosts: | ||
- "host.docker.internal:host-gateway" # fixes `host.docker.internal` on linux hosts | ||
- 'host.docker.internal:host-gateway' # fixes `host.docker.internal` on linux hosts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
version: '3.7' | ||
services: | ||
stacks-blockchain: | ||
image: "hirosystems/stacks-api-e2e:stacks3.0-800259e" | ||
image: 'hirosystems/stacks-api-e2e:stacks3.0-4d11d85' | ||
ports: | ||
- "18443:18443" # bitcoin regtest JSON-RPC interface | ||
- "18444:18444" # bitcoin regtest p2p | ||
- "20443:20443" # stacks-node RPC interface | ||
- "20444:20444" # stacks-node p2p | ||
- '18443:18443' # bitcoin regtest JSON-RPC interface | ||
- '18444:18444' # bitcoin regtest p2p | ||
- '20443:20443' # stacks-node RPC interface | ||
- '20444:20444' # stacks-node p2p | ||
environment: | ||
MINE_INTERVAL: 0.1s | ||
STACKS_EVENT_OBSERVER: host.docker.internal:3700 | ||
# STACKS_LOG_TRACE: 1 | ||
# STACKS_LOG_DEBUG: 1 | ||
extra_hosts: | ||
- "host.docker.internal:host-gateway" # fixes `host.docker.internal` on linux hosts | ||
- 'host.docker.internal:host-gateway' # fixes `host.docker.internal` on linux hosts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
version: '3.7' | ||
services: | ||
stacks-blockchain: | ||
command: stacks-node start --config=/app/config/Stacks-mocknet.toml | ||
command: stacks-node start --config /app/config/Stacks-mocknet.toml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
docs/api/stacking/get-pox-cycle-signer-stackers.example.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"limit": 20, | ||
"offset": 0, | ||
"total": 1, | ||
"results": [ | ||
{ | ||
"pox_address": "15Z2sAvjgVDpcBh4vx9g2XKU8FVHYcXNaj", | ||
"stacked_amount": "686251350000000000", | ||
"stacker_address": "STRYYQQ9M8KAF4NS7WNZQYY59X93XEKR31JP64CP" | ||
} | ||
] | ||
} |
29 changes: 29 additions & 0 deletions
29
docs/api/stacking/get-pox-cycle-signer-stackers.schema.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"description": "GET request that returns stackers for a signer in a PoX cycle", | ||
"additionalProperties": false, | ||
"title": "PoxCycleSignerStackersListResponse", | ||
"type": "object", | ||
"required": ["results", "limit", "offset", "total"], | ||
"properties": { | ||
"limit": { | ||
"type": "integer", | ||
"maximum": 200, | ||
"description": "The number of stackers to return" | ||
}, | ||
"offset": { | ||
"type": "integer", | ||
"description": "The number to stackers to skip (starting at `0`)", | ||
"default": 0 | ||
}, | ||
"total": { | ||
"type": "integer", | ||
"description": "The total number of stackers" | ||
}, | ||
"results": { | ||
"type": "array", | ||
"items": { | ||
"$ref": "../../entities/stacking/stacker.schema.json" | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"limit": 20, | ||
"offset": 0, | ||
"total": 3, | ||
"results": [ | ||
{ | ||
"signing_key": "0x038e3c4529395611be9abf6fa3b6987e81d402385e3d605a073f42f407565a4a3d", | ||
"stacked_amount": "686251350000000000", | ||
"stacked_amount_percent": 50, | ||
"weight": 5, | ||
"weight_percent": 55.55555555555556 | ||
}, | ||
{ | ||
"signing_key": "0x029874497a7952483aa23890e9d0898696f33864d3df90939930a1f45421fe3b09", | ||
"stacked_amount": "457500900000000000", | ||
"stacked_amount_percent": 33.333333333333336, | ||
"weight": 3, | ||
"weight_percent": 33.33333333333333 | ||
}, | ||
{ | ||
"signing_key": "0x02dcde79b38787b72d8e5e0af81cffa802f0a3c8452d6b46e08859165f49a72736", | ||
"stacked_amount": "228750450000000000", | ||
"stacked_amount_percent": 16.666666666666668, | ||
"weight": 1, | ||
"weight_percent": 11.11111111111111 | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"description": "GET request that returns signers for a PoX cycle", | ||
"additionalProperties": false, | ||
"title": "PoxCycleSignersListResponse", | ||
"type": "object", | ||
"required": ["results", "limit", "offset", "total"], | ||
"properties": { | ||
"limit": { | ||
"type": "integer", | ||
"maximum": 200, | ||
"description": "The number of signers to return" | ||
}, | ||
"offset": { | ||
"type": "integer", | ||
"description": "The number to signers to skip (starting at `0`)", | ||
"default": 0 | ||
}, | ||
"total": { | ||
"type": "integer", | ||
"description": "The total number of signers" | ||
}, | ||
"results": { | ||
"type": "array", | ||
"items": { | ||
"$ref": "../../entities/stacking/signer.schema.json" | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
"limit": 20, | ||
"offset": 0, | ||
"total": 3, | ||
"results": [ | ||
{ | ||
"block_height": 50, | ||
"cycle_number": 14, | ||
"index_block_hash": "0xf5be33abc4e508bdaf2191e88339372edcb3358c44e2a31e1b9b44f2880dde09", | ||
"total_signers": 3, | ||
"total_stacked_amount": "1372502700000000000", | ||
"total_weight": 9 | ||
}, | ||
{ | ||
"block_height": 22, | ||
"cycle_number": 13, | ||
"index_block_hash": "0x5077c7d971dd83cd3ba19dca579e3cc8dcf17913186b66093c94520e50d3b7b2", | ||
"total_signers": 3, | ||
"total_stacked_amount": "1372502700000000000", | ||
"total_weight": 9 | ||
}, | ||
{ | ||
"block_height": 13, | ||
"cycle_number": 12, | ||
"index_block_hash": "0x62d06851fe03f17cb45a488ae70bd8e0c5c308c523f37814ad4df36bd2108713", | ||
"total_signers": 3, | ||
"total_stacked_amount": "1372502700000000000", | ||
"total_weight": 9 | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"description": "GET request that returns PoX cycles", | ||
"additionalProperties": false, | ||
"title": "PoxCycleListResponse", | ||
"type": "object", | ||
"required": ["results", "limit", "offset", "total"], | ||
"properties": { | ||
"limit": { | ||
"type": "integer", | ||
"maximum": 200, | ||
"description": "The number of cycles to return" | ||
}, | ||
"offset": { | ||
"type": "integer", | ||
"description": "The number to cycles to skip (starting at `0`)", | ||
"default": 0 | ||
}, | ||
"total": { | ||
"type": "integer", | ||
"description": "The total number of cycles" | ||
}, | ||
"results": { | ||
"type": "array", | ||
"items": { | ||
"$ref": "../../entities/stacking/pox-cycle.schema.json" | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.