2.15.6 • Published 13 days ago

@activeledger/activehybrid v2.15.6

Weekly downloads
-
License
MIT
Repository
github
Last release
13 days ago

Activehybrid Connect

Maintain every permissioned chain yourself, When you're not able to reach consensus to join the main network nodes Hybrid Connect allowes you to still have processing access to the transactions. If you have access to 1 or more main network nodes (upstream) they will relay all transactions to your hybrid node. The hybrid node doesn't assume that these upstream servers are trustworthy. What this means is all transactions will still be verified and all smart contracts are run locally.

Transactions are always relayed, The main network node may not pass the voting round for a specific transaction but it will send it to the connected Hybrid nodes. Transactions are relayed immediately after a failure is raised or the transaction is commited on that node.

Best Effort Eventual Conesnsus

To reduce the load on the upstream servers and the network, Hybrid nodes use a Best Effort Eventual Consensus mechanism. This consensus is improved as more upstream servers allow access. As Activeledger is transactional based the Hybrid node doesn't need the entire dataset to form consensus. If using the quick start method any missing data for a transaction to be processed is relayed by the upstream server(s) transaction checkpoints to speed up the processing.

Getting Started

Hybrid Connect Client Side

activehybrid

Modify the upstream section like so

{
  "upstream": {
    "scheme": "http",
    "remote": "127.0.0.1",
    "port": 5260,
    "auth": "@uthC0de" // Create / Use Provided Random Authentication Code
  }
}

Upstream Server Side

Modify the nodes config.json file. Currently after making the file change you need to restart your activeledger instance.

{
  "hybrid": [
    {
      "active": true,
      "url": "http://ip:5260",
      "auth": "@uthC0de" // Create / Use Provided Random Authentication Code
    }
  ]
}

Contract Developer Notice

All contract features are supported there are however a few quirks to bare in mind. A hybrid node will always anounce itself as a hybrid instead of the usual reference. If you're using INC (Internode Communication) and this information is not shared currently to hybrid nodes. Territoriality information is also currently not shared.

Language
Englishdocumentation
Chinese说明文档
2.15.6

13 days ago

2.15.5

17 days ago

2.15.4

22 days ago

2.15.1

26 days ago

2.15.0

28 days ago

2.14.7

30 days ago

2.14.8

30 days ago

2.14.6

1 month ago

2.14.5

1 month ago

2.14.3

1 month ago

2.14.0

2 months ago

2.13.8

2 months ago

2.13.7

2 months ago

2.13.5

3 months ago

2.13.3

3 months ago

2.13.2

3 months ago

2.13.0

3 months ago

2.12.5

4 months ago

2.12.4

4 months ago

2.12.3

4 months ago

2.12.2

4 months ago

2.12.1

5 months ago

2.12.0

5 months ago

2.11.8

6 months ago

2.11.6

6 months ago

2.11.5

6 months ago

2.11.1

7 months ago

2.11.4

6 months ago

2.11.2

6 months ago

2.11.3

6 months ago

2.11.0

8 months ago

2.10.1

8 months ago

2.10.2

8 months ago

2.10.0

9 months ago

2.9.2

10 months ago

2.9.1

10 months ago

2.9.0

11 months ago

2.8.1

1 year ago

2.8.0

1 year ago

2.7.9

1 year ago

2.7.10

1 year ago

2.7.8

1 year ago

2.7.4

2 years ago

2.7.6

2 years ago

2.7.5

2 years ago

2.7.7

2 years ago

2.7.0

2 years ago

2.7.2

2 years ago

2.7.1

2 years ago

2.6.6

3 years ago

2.6.5

3 years ago

2.6.4

3 years ago

2.6.3

3 years ago

2.6.2

3 years ago

2.6.0

3 years ago

2.5.5

3 years ago

2.5.4

3 years ago

2.5.2

3 years ago

2.5.3

3 years ago

2.5.1

3 years ago

2.5.0

4 years ago

2.4.0

4 years ago

2.3.1

4 years ago

2.3.0

4 years ago

2.2.0

4 years ago