-
Notifications
You must be signed in to change notification settings - Fork 7
Dead / unavailable links #33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -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). | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
|
|
||
| The code below is an example of creating a table and inserting a row using `db.exec()` | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -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). | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
|
|
||
| ### exec(sql) | ||
| This function performs DDL or DML statements | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -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. | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I suspect that this line can be removed |
||
|
|
||
| +------------------------+------+------------------------------------------------------------------------------------------------------+ | ||
| |Name |Code |Summary | | ||
|
|
@@ -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. | ||
There was a problem hiding this comment.
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