mirror of
https://github.com/EvernodeXRPL/hpcore.git
synced 2026-04-29 15:37:59 +00:00
* Added flat buffer state message request * Added state vote * Added state to ledger history and did necessary changes * Completed receiveing state request * State read/write helpers. * Added new fbs schema * Added more state_store helper methods. * Started processing response * Fixed compile errors * Added get file length. * Handled state content response * Statefs code cleanup and fixes. * Completed response handling * Completed changes in handling state response * State sync integration fixes. * Fuse mount waiting logic. * Fixed state syncing issues * state sync fixes * fixes * State sync fixes. * Fixed fs entries retrieval issues. * changed desync logic * Added directory helper functions. * Handled return statemetns from statefs * Fixed state folder deletion. * handled errors from statefs * Working for small files * Got state sync working. * Removed cout. * Fixed catering for stae issue * Fixed block hash map flatbuf issue. * Added expected hash * Added helpers for expected hash comparison. * Improved state req/resp awaiting logic. * Fixes. * Fixes. * Block request ordering fix. * Removed couts * Closed non-closed file descriptors * Minor fixes. * Cluster create script changes. * Fixed reset time off issue.
28 lines
900 B
Bash
Executable File
28 lines
900 B
Bash
Executable File
#!/bin/bash
|
|
|
|
mode=$1
|
|
nodeid=$2
|
|
vmpass=$3
|
|
vmip=$4
|
|
hpcore=$5
|
|
|
|
echo $nodeid. $vmip
|
|
|
|
if [ $mode = "new" ]; then
|
|
|
|
sshpass -p $vmpass scp $hpcore/build/hpcore \
|
|
$hpcore/build/hpstatemon \
|
|
$hpcore/examples/echocontract/contract.js \
|
|
/usr/local/lib/x86_64-linux-gnu/libfuse3.so.3 \
|
|
/usr/local/bin/fusermount3 \
|
|
./setup-hp.sh \
|
|
geveo@$vmip:~/
|
|
|
|
sshpass -p $vmpass ssh geveo@$vmip 'chmod 700 ~/setup-hp.sh && ~/setup-hp.sh'
|
|
sshpass -p $vmpass scp geveo@$vmip:~/contract/cfg/hp.cfg ./cfg/node$nodeid.json
|
|
else
|
|
sshpass -p $vmpass scp $hpcore/build/hpcore \
|
|
$hpcore/build/hpstatemon \
|
|
$hpcore/examples/echocontract/contract.js \
|
|
geveo@$vmip:~/
|
|
fi |