jq is useful to slice, filter, map and transform structured json data.
brew install jq
#!/bin/bash | |
JENKINS_URL=$1 | |
NODE_NAME=$2 | |
NODE_SLAVE_HOME='/home/build/slave' | |
EXECUTORS=1 | |
SSH_PORT=22 | |
CRED_ID=$3 | |
LABELS=build | |
USERID=${USER} |
(* RapidChain: Scaling Blockchain via Full Sharding *) | |
(* OmniLedger: A Secure, Scale-Out, Decentralized Ledger via Sharding https://eprint.iacr.org/2017/406.pdf *) | |
(* ida, kademlia, cross-verify, reshard, bootstrap *) | |
(* opt: batch, pipeline, sparsify *) | |
type state (* utxo state: transaction id, row *) | |
type signature (* public-key signature *) |
More details on how to spin up AWS instance here
amazon linux 2
AMIt3.small
as instance type# All exchange partners have to update the harmony node software and script for the open staking | |
# The following instructions assume you already have a running node on harmony mainnet | |
# and running the node.sh in console/tmux. | |
# stop your node.sh | |
# upgrade node.sh | |
curl -LO https://harmony.one/node.sh | |
chmod +x node.sh |
$ df -Th | |
Filesystem Type Size Used Avail Use% Mounted on | |
udev devtmpfs 7.7G 0 7.7G 0% /dev | |
tmpfs tmpfs 1.6G 776K 1.6G 1% /run | |
/dev/nvme0n1p1 ext4 291G 64G 228G 22% / <-- Notice how TYPE is ext4 | |
# Go on AWS and use InstanceID to get to EBS storage, then increase the EBS storage. | |
# Once done, do the following | |
# check to make sure EBS upgrade is done with |
hmy_inSync
Returns a boolean
, indicating whether the node is sync with the shard chain (true) or currently syncing to catch up to the shard chain max height (false)
hmy_beaconInSync
Returns a boolean
. It is the same as the previous one, but it checks the beacon chain (shard 0) currently on the node.
These RPCs will work for any of our endpoints & any nodes that have open RPC ports!
Example CURL commands:
This document describes the test plan for Harmony's package release using standard packaging system, RPM and Deb packages.
Standard packaging system has many benefits, like extensive tooling, documentation, portability, and complete design to handle different situation.
The RPM/Deb packages will install the following files/binary in your system.
Multichain is a collection of functions, types, interfaces, and runtimes that can be implemented for any blockchain. Those familiar with the Rosetta spec by Coinbase will note similarities in goals. However, multichain's scope is limited to accounts, contract calls, and sending transactions — there is no block data extraction. Moreover, the chain (Harmony) would have to implement the appropriate functions to Ren's multichain repo as a pull request and undergo their review. The Ren Project notes that once Harmony has integrated with the multichain API, we have the possibility for support in the RenVM.
To help bridge the gap between Harmony and other chains, we must explore ways to integrate with chain agnostic interfaces. Having an API that is standard across multiple chains (notably BTC & ETH) will help reduce the friction of getting a