Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion source/running-node/advanced-topics/genesis-block.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ The genesis block is the first block created on a new chain according to a prede
If you want to bootstrap your own Aergo blockchain, you will need to configure and create the genesis block.
All nodes producing blocks and syncing with the network need to use the same genesis block.

You can find an example genesis configuration json file `here <https://github.com/aergoio/aergo-docker/blob/1ad16cf7881d9ba8f2efc350cf609c9416e76666/node/testnet-genesis.json>`_.
You can find an example genesis configuration json file `here <https://github.com/aergoio/aergo-docker/blob/1ad16cf7881d9ba8f2efc350cf609c9416e76666/node/testnet-genesis.json>`_ (dead).
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, the repo is private. This is why it works for us internally.
We will solve it. Thanks for sharing

It is the one used for the public testnet.

============= ====== ==========================================================================================
Expand Down
2 changes: 1 addition & 1 deletion source/smart-contracts/lua/guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ abi.register_view(sendAergo)

Aergo smart contract has `db` library that supports SQL features.

> Note: The db package is currently only available on private networks and publicly on [SQL TestNet](https://sqltestnet.aergoscan.io/).
> Note: The db package is currently only available on private networks and publicly on [SQL TestNet](https://sqltestnet.aergoscan.io/) (currently unavailable).
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: The db package is currently only available on private networks and publicly on AlphaNet (test network for private chains)


The code below is an example of creating a table and inserting a row using `db.exec()`

Expand Down
2 changes: 1 addition & 1 deletion source/smart-contracts/lua/reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ The string, math, and table packages are available. However, you can not use the

If the smart contract is handling simple types of data, it would not be difficult to implement using only the basic APIs (getItem(), setItem()). However, complex data structures, data association, scope queries, filtering, sorting, and other features require the complexity and size of the data logic so developers can not focus on critical business logic. To solve this problem, Aergo supports SQL. This section details the types and usage of SQL APIs available in smart contracts

> Note: The db package is currently only available on private networks and publicly on [SQL TestNet](https://sqltestnet.aergoscan.io/).
> Note: The db package is currently only available on private networks and publicly on [SQL TestNet](https://sqltestnet.aergoscan.io/) (currently unavailable).
Copy link
Copy Markdown
Member

@kroggen kroggen Dec 6, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: The db package is currently only available on private networks and publicly on AlphaNet (test network for private chains)


### exec(sql)
This function performs DDL or DML statements
Expand Down
12 changes: 7 additions & 5 deletions source/specs/p2p/wireprotocol.rst
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ List of Subprotocols
--------------------

Code is hexadecimal number.
Refer to `Subprotocols <subprotocols.html>`_ for detailed information of each subprotocol.
Refer to `Subprotocols <subprotocols.html>`_ (dead) for detailed information of each subprotocol.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suspect that this line can be removed


+------------------------+------+------------------------------------------------------------------------------------------------------+
|Name |Code |Summary |
Expand Down Expand Up @@ -289,9 +289,11 @@ v0.3.0
Handshake message
^^^^^^^^^^^^^^^^^

-A handshake message is used once at starting handshake. It contains two 4-byte number. Both outbound peer send HSReq
* A handshake message is used once at starting handshake. It contains two 4-byte number. Both outbound peer send HSReq

+HSReq is 8 byte stream which p2p protocol version
* HSReq is 8 byte stream which p2p protocol version

+4 : Magic
+4 : p2p protocol version of outbound peer. The inbound peer accept handshake if version is matching or close connection if not.
Magic
^^^^^

* P2P protocol version of outbound peer. The inbound peer accept handshake if version is matching or close connection if not.