Skip to content

Commit

Permalink
GITBOOK-170: Add block production diagram
Browse files Browse the repository at this point in the history
  • Loading branch information
kenrogers authored and gitbook-bot committed Aug 29, 2024
1 parent 49b5295 commit fe1678b
Show file tree
Hide file tree
Showing 12 changed files with 8 additions and 4 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .gitbook/assets/image (1) (1) (1) (1) (1) (1) (1).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .gitbook/assets/image (1) (1) (1) (1) (1) (1).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .gitbook/assets/image (1) (1) (1) (1) (1).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .gitbook/assets/image (1) (1) (1).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .gitbook/assets/image (1) (1).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .gitbook/assets/image (1).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .gitbook/assets/image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions concepts/block-production/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@ There are two primary parties in Stacks block production: miners and stackers. M
Stacking is another action conducted by stackers that is a necessary prerequisite to signing. We'll cover how all of this works together in the next three sections.

For an in-depth overview of the technical aspects of how block production works after the Nakmoto Upgrade, be sure to read through [SIP-021](https://github.com/stacksgov/sips/blob/feat/sip-021-nakamoto/sips/sip-021/sip-021-nakamoto.md).

Here's a diagram outlining the block production process under Nakamoto rules. We'll dig into each part of this in the following docs.

<figure><img src="../../.gitbook/assets/image.png" alt=""><figcaption></figcaption></figure>
2 changes: 1 addition & 1 deletion concepts/transactions/post-conditions.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ When you use a Stacks wallet like the Hiro web wallet and initiate a transaction

Here's what that looks like:

<figure><img src="../../.gitbook/assets/image (1) (1) (1) (1) (1) (1) (1).png" alt=""><figcaption></figcaption></figure>
<figure><img src="../../.gitbook/assets/image (1) (1) (1) (1) (1) (1) (1) (1).png" alt=""><figcaption></figcaption></figure>

In this example, if the smart contract does not transfer one fabulous-frog NFT and and take 50 STX from the user, the transaction will abort.

Expand Down
4 changes: 2 additions & 2 deletions guides-and-tutorials/running-a-signer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ To make sure your signer is running successfully, run `docker ps` to list your r

You should see something like this

<figure><img src="../../.gitbook/assets/image (1) (1).png" alt=""><figcaption></figcaption></figure>
<figure><img src="../../.gitbook/assets/image (1) (1) (1).png" alt=""><figcaption></figcaption></figure>

Now check the logs of that container by running:

Expand Down Expand Up @@ -304,7 +304,7 @@ If when running your node you get a connection refused error that looks like thi

First, be sure that you have the proper entry point specified in your `node-config.toml` file as specified in the [How to Run a Signer](./) doc.

<figure><img src="../../.gitbook/assets/image.png" alt=""><figcaption></figcaption></figure>
<figure><img src="../../.gitbook/assets/image (1).png" alt=""><figcaption></figcaption></figure>

If you are inside a Docker container with default bridging mode, then localhost is not available, and you'll need to point to the Docker host.

Expand Down
2 changes: 1 addition & 1 deletion nakamoto-upgrade/nakamoto-in-10-minutes.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ This elegant design creates a cooperative relationship between miners and stacke

Here is a diagram outlining miner and signer behavior.

<figure><img src="../.gitbook/assets/image (1) (1) (1) (1) (1) (1).png" alt=""><figcaption></figcaption></figure>
<figure><img src="../.gitbook/assets/image (1) (1) (1) (1) (1) (1) (1).png" alt=""><figcaption></figcaption></figure>

### Bitcoin MEV Mitigation

Expand Down

0 comments on commit fe1678b

Please sign in to comment.