This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Load plugins. | |
| set -g @plugin 'tmux-plugins/tmux-yank' # Cross-platform support for clipboard. | |
| set -g @plugin 'odedlaz/tmux-onedark-theme' # OneDark Theme | |
| set -g @plugin 'tmux-plugins/tmux-resurrect' # Save/Restore sessions | |
| set -g @plugin 'tmux-plugins/tmux-continuum' # Auto Save/Restore | |
| # Remap prefix to ctrl-a for screen consistency. | |
| # set -g prefix C-a | |
| # Restore using continuum. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // include dependencies | |
| const express = require('express'); | |
| const { createProxyMiddleware } = require('../../dist'); // = require('http-proxy-middleware'); | |
| // proxy middleware options | |
| const options = { | |
| target: 'https://staking.harmony.one', // target host | |
| changeOrigin: true, // needed for virtual hosted sites | |
| ws: true, // proxy websockets | |
| pathRewrite: { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ======================= | |
| shard 1 explorer node: | |
| dennis.won@Jongs-MacBook-Pro:~/harmony-one/harmony (pr_staking_txn_history_t3) $ curl --location --request POST 'http://127.0.0.1:9599' --header 'Content-Type: application/json' --data-raw '{ | |
| "jsonrpc": "2.0", | |
| "method": "hmyv2_getTransactionsHistory", | |
| "params": [{ "address": "one103q7qe5t2505lypvltkqtddaef5tzfxwsse4z7", "fullTx": true, "txType": "ALL", "order": "ASC" }], | |
| "id": 1 | |
| }' | |
| {"jsonrpc":"2.0","id":1,"result":{"transactions":[{"blockHash":"0xe30e9b3aea9f37ef5498a47ca159ce881495a32091a86e5fa914b8a94ec88311","blockNumber":56,"from":"one103q7qe5t2505lypvltkqtddaef5tzfxwsse4z7","timestamp":1583270509,"gas":21000,"gasPrice":1000000000,"hash":"0x116e9f2563274ed4d738fd991eb10ee03a4119c7e0a6366f38e8a3f298f860a7","input":"0x","nonce":0,"to":"one129r9pj3sk0re76f7zs3qz92rggmdgjhtwge62k","transactionIndex":0,"value":10000000000000000000,"shardID":0,"toShardID":0,"v":"0x28","r":"0x7bf59745ec4c7a786bedf5f6c908907aec738170debaeca64c6348f7f1b4af4b","s":"0x3 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ./scripts/go_executable_build.sh | |
| building cmd/harmony/main.go | |
| build command-line-arguments: cannot load crypto/ed25519: cannot find module providing package crypto/ed25519 | |
| Makefile:12: recipe for target 'all' failed | |
| make: *** [all] Error 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ./scripts/go_executable_build.sh | |
| building cmd/harmony/main.go | |
| build command-line-arguments: cannot load crypto/ed25519: cannot find module providing package crypto/ed25519 | |
| Makefile:12: recipe for target 'all' failed | |
| make: *** [all] Error 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 3.112.219.248 returned status 1 | |
| {"level":"info","port":"9000","ip":"3.134.80.224","blockNum":2056171,"ViewId":2056223,"blockHash":"0x9113ef294d562bd6b202a589e5ea1b0b864d773cad5c725e03b5d9420f92896c","index":1,"caller":"/mnt/jenkins/workspace/harmony-release/harmony/consensus/consensus_v2.go:834","time":"2020-01-11T19:57:24.820409782Z","message":"HOORAY!!!!!!! CONSENSUS REACHED!!!!!!!"} | |
| 54.187.216.77 returned status 1 | |
| --- BEGIN 13.57.34.229 stderr --- | |
| ssh: connect to host 13.57.34.229 port 22: Connection timed out | |
| --- END 13.57.34.229 stderr --- | |
| 13.57.34.229 returned status 255 | |
| 35.158.108.113 returned status 1 | |
| --- BEGIN 34.219.20.89 stderr --- | |
| ssh: connect to host 34.219.20.89 port 22: Connection timed out |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function getAccountTransactions(accAddress, startBlockNumber, endBlockNumber) { | |
| // You can do a NULL check for the start/end blockNumber | |
| console.log("Searching for transactions to/from account \"" + accAddress + "\" within blocks " + startBlockNumber + " and " + endBlockNumber); | |
| for (var i = startBlockNumber; i <= endBlockNumber; i++) { | |
| var block = hmy.getBlockByNumbrt(i, true); | |
| if (block != null && block.transactions != null) { | |
| block.transactions.forEach( function(e) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ====== WALLET BALANCES ====== | |
| Using local profile for wallet | |
| Account: one1spshr72utf6rwxseaz339j09ed8p6f8ke370zj: | |
| Balance in Shard 0: 138.909334809, nonce: 9 | |
| Balance in Shard 1: 0.0000, nonce: 0 | |
| Using local profile for wallet | |
| Account: one1uyshu2jgv8w465yc8kkny36thlt2wvel89tcmg: | |
| Balance in Shard 0: 0.0000, nonce: 0 | |
| Balance in Shard 1: 138.047409047, nonce: 10 | |
| Using local profile for wallet |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // import or require Harmony class | |
| const { Harmony } = require('@harmony-js/core'); | |
| // import or require settings | |
| const { ChainID, ChainType } = require('@harmony-js/utils'); | |
| const URL_TESTNET = `https://api.s0.b.hmny.io`; | |
| const URL_MAINNET = `https://api.s0.t.hmny.io`; | |
| // 1. initialize the Harmony instance |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 0x05C6651BF91B37184fE340F61dD76D41034e9922 | |
| 0x666d9dac081ccea209091d6e06d76678b09dcca3 | |
| 0x6750DB41334e612a6E8Eb60323Cb6579f0a66542 | |
| 0xE25ABC3f7C3d5fB7FB81EAFd421FF1621A61107c |