Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
800 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
#!/bin/bash | ||
# Copyright (C) 2015-2024 The Neo Project. | ||
# | ||
# build-dpkg-amd64.sh file belongs to the neo project and is free | ||
# software distributed under the MIT software license, see the | ||
# accompanying file LICENSE in the main directory of the | ||
# repository or http://www.opensource.org/licenses/mit-license.php | ||
# for more details. | ||
# | ||
# Redistribution and use in source and binary forms with or without | ||
# modifications are permitted. | ||
|
||
# Set variables | ||
ARCH=${1}; | ||
PKGS_PATH="${DPKGS_PATH}/neo-cli-${OS_RUNTIME}_${NEO_VERSION}-1_${ARCH}"; | ||
TEMPLATE_PATH="./dpkg"; | ||
|
||
# Make directory | ||
mkdir -p ${PKGS_PATH}; | ||
|
||
# Copy workflow deb template | ||
cp -vpR ${TEMPLATE_PATH}/* ${PKGS_PATH}/; | ||
|
||
# Create "bin" Path | ||
mkdir -vp ${PKGS_PATH}/usr/bin; | ||
|
||
# Change permissions | ||
chmod -R 755 ${PKGS_PATH}/; | ||
chmod -R a+rw ${PKGS_PATH}/srv/neo-node/dbs; | ||
chmod -R a+rw ${PKGS_PATH}/srv/neo-node/Plugins; | ||
|
||
# Clean up ".gitkeep" | ||
rm -v ${PKGS_PATH}/srv/neo-node/dbs/.gitkeep; | ||
rm -v ${PKGS_PATH}/srv/neo-node/Plugins/.gitkeep; | ||
|
||
# Append deb package config | ||
echo -e "Version: ${NEO_VERSION}" >> ${PKGS_PATH}/DEBIAN/control; | ||
echo -e "Architecture: ${ARCH}" >> ${PKGS_PATH}/DEBIAN/control; | ||
|
||
# Create shortcut to "neo-cli" binary file | ||
ln -sv /srv/neo-node/neo-cli ${PKGS_PATH}/usr/bin/neo-cli; | ||
|
||
# Copy "neo-cli" Binaries | ||
cp -vp ${BIN_RUNTIME_PATH}/* ${PKGS_PATH}/srv/neo-node/; | ||
|
||
# Build "deb" package | ||
dpkg-deb --build ${PKGS_PATH}; | ||
status=${?}; | ||
|
||
if [ ${status} -eq 0 ]; then | ||
# Debug Output | ||
dpkg-deb --info "${PKGS_PATH}.deb"; | ||
fi | ||
|
||
echo -e "PKGS_PATH=${PKGS_PATH}" >> ${GITHUB_ENV} | ||
|
||
exit ${status}; |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Package: neo-cli | ||
Essential: no | ||
Priority: optional | ||
Depends: libleveldb-dev, libsnappy-dev, libsqlite3-dev | ||
Maintainer: neo-project | ||
Description: Neo N3 blockchain full node and command-line interface (CLI). |
Empty file.
52 changes: 52 additions & 0 deletions
52
.github/scripts/neo-cli-csharp/dpkg/srv/neo-node/config.fs.mainnet.json
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
{ | ||
"ApplicationConfiguration": { | ||
"Logger": { | ||
"Path": "Logs", | ||
"ConsoleOutput": false, | ||
"Active": false | ||
}, | ||
"Storage": { | ||
"Engine": "LevelDBStore", | ||
"Path": "/srv/neo-node/dbs/Data_LevelDB_{0}" | ||
}, | ||
"P2P": { | ||
"Port": 40333, | ||
"MinDesiredConnections": 10, | ||
"MaxConnections": 40, | ||
"MaxConnectionsPerAddress": 3 | ||
}, | ||
"UnlockWallet": { | ||
"Path": "", | ||
"Password": "", | ||
"IsActive": false | ||
} | ||
}, | ||
"ProtocolConfiguration": { | ||
"Network": 91414437, | ||
"AddressVersion": 53, | ||
"MillisecondsPerBlock": 15000, | ||
"MaxTransactionsPerBlock": 512, | ||
"MemoryPoolMaxTransactions": 50000, | ||
"MaxTraceableBlocks": 2102400, | ||
"InitialGasDistribution": 5200000000000000, | ||
"ValidatorsCount": 7, | ||
"StandbyCommittee": [ | ||
"026fa34ec057d74c2fdf1a18e336d0bd597ea401a0b2ad57340d5c220d09f44086", | ||
"039a9db2a30942b1843db673aeb0d4fd6433f74cec1d879de6343cb9fcf7628fa4", | ||
"0366d255e7ce23ea6f7f1e4bedf5cbafe598705b47e6ec213ef13b2f0819e8ab33", | ||
"023f9cb7bbe154d529d5c719fdc39feaa831a43ae03d2a4280575b60f52fa7bc52", | ||
"039ba959e0ab6dc616df8b803692f1c30ba9071b76b05535eb994bf5bbc402ad5f", | ||
"035a2a18cddafa25ad353dea5e6730a1b9fcb4b918c4a0303c4387bb9c3b816adf", | ||
"031f4d9c66f2ec348832c48fd3a16dfaeb59e85f557ae1e07f6696d0375c64f97b" | ||
], | ||
"SeedList": [ | ||
"morph1.fs.neo.org:40333", | ||
"morph2.fs.neo.org:40333", | ||
"morph3.fs.neo.org:40333", | ||
"morph4.fs.neo.org:40333", | ||
"morph5.fs.neo.org:40333", | ||
"morph6.fs.neo.org:40333", | ||
"morph7.fs.neo.org:40333" | ||
] | ||
} | ||
} |
52 changes: 52 additions & 0 deletions
52
.github/scripts/neo-cli-csharp/dpkg/srv/neo-node/config.fs.testnet.json
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
{ | ||
"ApplicationConfiguration": { | ||
"Logger": { | ||
"Path": "Logs", | ||
"ConsoleOutput": false, | ||
"Active": false | ||
}, | ||
"Storage": { | ||
"Engine": "LevelDBStore", | ||
"Path": "/srv/neo-node/dbs/Data_LevelDB_{0}" | ||
}, | ||
"P2P": { | ||
"Port": 50333, | ||
"MinDesiredConnections": 10, | ||
"MaxConnections": 40, | ||
"MaxConnectionsPerAddress": 3 | ||
}, | ||
"UnlockWallet": { | ||
"Path": "", | ||
"Password": "", | ||
"IsActive": false | ||
} | ||
}, | ||
"ProtocolConfiguration": { | ||
"Network": 91466898, | ||
"AddressVersion": 53, | ||
"MillisecondsPerBlock": 15000, | ||
"MaxTransactionsPerBlock": 512, | ||
"MemoryPoolMaxTransactions": 50000, | ||
"MaxTraceableBlocks": 2102400, | ||
"InitialGasDistribution": 5200000000000000, | ||
"ValidatorsCount": 7, | ||
"StandbyCommittee": [ | ||
"02082828ec6efc92e5e7790da851be72d2091a961c1ac9a1772acbf181ac56b831", | ||
"02b2bcf7e09c0237ab6ef21808e6f7546329823bc6b43488335bd357aea443fabe", | ||
"03577029a5072ebbab12d2495b59e2cf27afb37f9640c1c1354f1bdd221e6fb82d", | ||
"03e6ea086e4b42fa5f0535179862db7eea7e44644e5e9608d6131aa48868c12cfc", | ||
"0379328ab4907ea7c47f61e5c9d2c78c39dc9d1c4341ca496376070a0a5e20131e", | ||
"02f8af6440dfe0e676ae2bb6727e5cc31a6f2459e29f48e85428862b7577dbc203", | ||
"02e19c0634c85d35937699cdeaa10595ec2e18bfe86ba0494cf6c5c6861c66b97d" | ||
], | ||
"SeedList": [ | ||
"morph01.testnet.fs.neo.org:50333", | ||
"morph02.testnet.fs.neo.org:50333", | ||
"morph03.testnet.fs.neo.org:50333", | ||
"morph04.testnet.fs.neo.org:50333", | ||
"morph05.testnet.fs.neo.org:50333", | ||
"morph06.testnet.fs.neo.org:50333", | ||
"morph07.testnet.fs.neo.org:50333" | ||
] | ||
} | ||
} |
68 changes: 68 additions & 0 deletions
68
.github/scripts/neo-cli-csharp/dpkg/srv/neo-node/config.json
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
{ | ||
"ApplicationConfiguration": { | ||
"Logger": { | ||
"Path": "Logs", | ||
"ConsoleOutput": false, | ||
"Active": false | ||
}, | ||
"Storage": { | ||
"Engine": "LevelDBStore", | ||
"Path": "/srv/neo-node/dbs/Data_LevelDB_{0}" | ||
}, | ||
"P2P": { | ||
"Port": 10333, | ||
"MinDesiredConnections": 10, | ||
"MaxConnections": 40, | ||
"MaxConnectionsPerAddress": 3 | ||
}, | ||
"UnlockWallet": { | ||
"Path": "", | ||
"Password": "", | ||
"IsActive": false | ||
} | ||
}, | ||
"ProtocolConfiguration": { | ||
"Network": 860833102, | ||
"AddressVersion": 53, | ||
"MillisecondsPerBlock": 15000, | ||
"MaxTransactionsPerBlock": 512, | ||
"MemoryPoolMaxTransactions": 50000, | ||
"MaxTraceableBlocks": 2102400, | ||
"Hardforks": { | ||
"HF_Aspidochelone": 1730000, | ||
"HF_Basilisk": 4120000 | ||
}, | ||
"InitialGasDistribution": 5200000000000000, | ||
"ValidatorsCount": 7, | ||
"StandbyCommittee": [ | ||
"03b209fd4f53a7170ea4444e0cb0a6bb6a53c2bd016926989cf85f9b0fba17a70c", | ||
"02df48f60e8f3e01c48ff40b9b7f1310d7a8b2a193188befe1c2e3df740e895093", | ||
"03b8d9d5771d8f513aa0869b9cc8d50986403b78c6da36890638c3d46a5adce04a", | ||
"02ca0e27697b9c248f6f16e085fd0061e26f44da85b58ee835c110caa5ec3ba554", | ||
"024c7b7fb6c310fccf1ba33b082519d82964ea93868d676662d4a59ad548df0e7d", | ||
"02aaec38470f6aad0042c6e877cfd8087d2676b0f516fddd362801b9bd3936399e", | ||
"02486fd15702c4490a26703112a5cc1d0923fd697a33406bd5a1c00e0013b09a70", | ||
"023a36c72844610b4d34d1968662424011bf783ca9d984efa19a20babf5582f3fe", | ||
"03708b860c1de5d87f5b151a12c2a99feebd2e8b315ee8e7cf8aa19692a9e18379", | ||
"03c6aa6e12638b36e88adc1ccdceac4db9929575c3e03576c617c49cce7114a050", | ||
"03204223f8c86b8cd5c89ef12e4f0dbb314172e9241e30c9ef2293790793537cf0", | ||
"02a62c915cf19c7f19a50ec217e79fac2439bbaad658493de0c7d8ffa92ab0aa62", | ||
"03409f31f0d66bdc2f70a9730b66fe186658f84a8018204db01c106edc36553cd0", | ||
"0288342b141c30dc8ffcde0204929bb46aed5756b41ef4a56778d15ada8f0c6654", | ||
"020f2887f41474cfeb11fd262e982051c1541418137c02a0f4961af911045de639", | ||
"0222038884bbd1d8ff109ed3bdef3542e768eef76c1247aea8bc8171f532928c30", | ||
"03d281b42002647f0113f36c7b8efb30db66078dfaaa9ab3ff76d043a98d512fde", | ||
"02504acbc1f4b3bdad1d86d6e1a08603771db135a73e61c9d565ae06a1938cd2ad", | ||
"0226933336f1b75baa42d42b71d9091508b638046d19abd67f4e119bf64a7cfb4d", | ||
"03cdcea66032b82f5c30450e381e5295cae85c5e6943af716cc6b646352a6067dc", | ||
"02cd5a5547119e24feaa7c2a0f37b8c9366216bab7054de0065c9be42084003c8a" | ||
], | ||
"SeedList": [ | ||
"seed1.neo.org:10333", | ||
"seed2.neo.org:10333", | ||
"seed3.neo.org:10333", | ||
"seed4.neo.org:10333", | ||
"seed5.neo.org:10333" | ||
] | ||
} | ||
} |
68 changes: 68 additions & 0 deletions
68
.github/scripts/neo-cli-csharp/dpkg/srv/neo-node/config.mainnet.json
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
{ | ||
"ApplicationConfiguration": { | ||
"Logger": { | ||
"Path": "Logs", | ||
"ConsoleOutput": false, | ||
"Active": false | ||
}, | ||
"Storage": { | ||
"Engine": "LevelDBStore", | ||
"Path": "/srv/neo-node/dbs/Data_LevelDB_{0}" | ||
}, | ||
"P2P": { | ||
"Port": 10333, | ||
"MinDesiredConnections": 10, | ||
"MaxConnections": 40, | ||
"MaxConnectionsPerAddress": 3 | ||
}, | ||
"UnlockWallet": { | ||
"Path": "", | ||
"Password": "", | ||
"IsActive": false | ||
} | ||
}, | ||
"ProtocolConfiguration": { | ||
"Network": 860833102, | ||
"AddressVersion": 53, | ||
"MillisecondsPerBlock": 15000, | ||
"MaxTransactionsPerBlock": 512, | ||
"MemoryPoolMaxTransactions": 50000, | ||
"MaxTraceableBlocks": 2102400, | ||
"Hardforks": { | ||
"HF_Aspidochelone": 1730000, | ||
"HF_Basilisk": 4120000 | ||
}, | ||
"InitialGasDistribution": 5200000000000000, | ||
"ValidatorsCount": 7, | ||
"StandbyCommittee": [ | ||
"03b209fd4f53a7170ea4444e0cb0a6bb6a53c2bd016926989cf85f9b0fba17a70c", | ||
"02df48f60e8f3e01c48ff40b9b7f1310d7a8b2a193188befe1c2e3df740e895093", | ||
"03b8d9d5771d8f513aa0869b9cc8d50986403b78c6da36890638c3d46a5adce04a", | ||
"02ca0e27697b9c248f6f16e085fd0061e26f44da85b58ee835c110caa5ec3ba554", | ||
"024c7b7fb6c310fccf1ba33b082519d82964ea93868d676662d4a59ad548df0e7d", | ||
"02aaec38470f6aad0042c6e877cfd8087d2676b0f516fddd362801b9bd3936399e", | ||
"02486fd15702c4490a26703112a5cc1d0923fd697a33406bd5a1c00e0013b09a70", | ||
"023a36c72844610b4d34d1968662424011bf783ca9d984efa19a20babf5582f3fe", | ||
"03708b860c1de5d87f5b151a12c2a99feebd2e8b315ee8e7cf8aa19692a9e18379", | ||
"03c6aa6e12638b36e88adc1ccdceac4db9929575c3e03576c617c49cce7114a050", | ||
"03204223f8c86b8cd5c89ef12e4f0dbb314172e9241e30c9ef2293790793537cf0", | ||
"02a62c915cf19c7f19a50ec217e79fac2439bbaad658493de0c7d8ffa92ab0aa62", | ||
"03409f31f0d66bdc2f70a9730b66fe186658f84a8018204db01c106edc36553cd0", | ||
"0288342b141c30dc8ffcde0204929bb46aed5756b41ef4a56778d15ada8f0c6654", | ||
"020f2887f41474cfeb11fd262e982051c1541418137c02a0f4961af911045de639", | ||
"0222038884bbd1d8ff109ed3bdef3542e768eef76c1247aea8bc8171f532928c30", | ||
"03d281b42002647f0113f36c7b8efb30db66078dfaaa9ab3ff76d043a98d512fde", | ||
"02504acbc1f4b3bdad1d86d6e1a08603771db135a73e61c9d565ae06a1938cd2ad", | ||
"0226933336f1b75baa42d42b71d9091508b638046d19abd67f4e119bf64a7cfb4d", | ||
"03cdcea66032b82f5c30450e381e5295cae85c5e6943af716cc6b646352a6067dc", | ||
"02cd5a5547119e24feaa7c2a0f37b8c9366216bab7054de0065c9be42084003c8a" | ||
], | ||
"SeedList": [ | ||
"seed1.neo.org:10333", | ||
"seed2.neo.org:10333", | ||
"seed3.neo.org:10333", | ||
"seed4.neo.org:10333", | ||
"seed5.neo.org:10333" | ||
] | ||
} | ||
} |
68 changes: 68 additions & 0 deletions
68
.github/scripts/neo-cli-csharp/dpkg/srv/neo-node/config.testnet.json
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
{ | ||
"ApplicationConfiguration": { | ||
"Logger": { | ||
"Path": "Logs", | ||
"ConsoleOutput": false, | ||
"Active": false | ||
}, | ||
"Storage": { | ||
"Engine": "LevelDBStore", | ||
"Path": "/srv/neo-node/dbs/Data_LevelDB_{0}" | ||
}, | ||
"P2P": { | ||
"Port": 20333, | ||
"MinDesiredConnections": 10, | ||
"MaxConnections": 40, | ||
"MaxConnectionsPerAddress": 3 | ||
}, | ||
"UnlockWallet": { | ||
"Path": "", | ||
"Password": "", | ||
"IsActive": false | ||
} | ||
}, | ||
"ProtocolConfiguration": { | ||
"Network": 894710606, | ||
"AddressVersion": 53, | ||
"MillisecondsPerBlock": 15000, | ||
"MaxTransactionsPerBlock": 5000, | ||
"MemoryPoolMaxTransactions": 50000, | ||
"MaxTraceableBlocks": 2102400, | ||
"Hardforks": { | ||
"HF_Aspidochelone": 210000, | ||
"HF_Basilisk": 2680000 | ||
}, | ||
"InitialGasDistribution": 5200000000000000, | ||
"ValidatorsCount": 7, | ||
"StandbyCommittee": [ | ||
"023e9b32ea89b94d066e649b124fd50e396ee91369e8e2a6ae1b11c170d022256d", | ||
"03009b7540e10f2562e5fd8fac9eaec25166a58b26e412348ff5a86927bfac22a2", | ||
"02ba2c70f5996f357a43198705859fae2cfea13e1172962800772b3d588a9d4abd", | ||
"03408dcd416396f64783ac587ea1e1593c57d9fea880c8a6a1920e92a259477806", | ||
"02a7834be9b32e2981d157cb5bbd3acb42cfd11ea5c3b10224d7a44e98c5910f1b", | ||
"0214baf0ceea3a66f17e7e1e839ea25fd8bed6cd82e6bb6e68250189065f44ff01", | ||
"030205e9cefaea5a1dfc580af20c8d5aa2468bb0148f1a5e4605fc622c80e604ba", | ||
"025831cee3708e87d78211bec0d1bfee9f4c85ae784762f042e7f31c0d40c329b8", | ||
"02cf9dc6e85d581480d91e88e8cbeaa0c153a046e89ded08b4cefd851e1d7325b5", | ||
"03840415b0a0fcf066bcc3dc92d8349ebd33a6ab1402ef649bae00e5d9f5840828", | ||
"026328aae34f149853430f526ecaa9cf9c8d78a4ea82d08bdf63dd03c4d0693be6", | ||
"02c69a8d084ee7319cfecf5161ff257aa2d1f53e79bf6c6f164cff5d94675c38b3", | ||
"0207da870cedb777fceff948641021714ec815110ca111ccc7a54c168e065bda70", | ||
"035056669864feea401d8c31e447fb82dd29f342a9476cfd449584ce2a6165e4d7", | ||
"0370c75c54445565df62cfe2e76fbec4ba00d1298867972213530cae6d418da636", | ||
"03957af9e77282ae3263544b7b2458903624adc3f5dee303957cb6570524a5f254", | ||
"03d84d22b8753cf225d263a3a782a4e16ca72ef323cfde04977c74f14873ab1e4c", | ||
"02147c1b1d5728e1954958daff2f88ee2fa50a06890a8a9db3fa9e972b66ae559f", | ||
"03c609bea5a4825908027e4ab217e7efc06e311f19ecad9d417089f14927a173d5", | ||
"0231edee3978d46c335e851c76059166eb8878516f459e085c0dd092f0f1d51c21", | ||
"03184b018d6b2bc093e535519732b3fd3f7551c8cffaf4621dd5a0b89482ca66c9" | ||
], | ||
"SeedList": [ | ||
"seed1t5.neo.org:20333", | ||
"seed2t5.neo.org:20333", | ||
"seed3t5.neo.org:20333", | ||
"seed4t5.neo.org:20333", | ||
"seed5t5.neo.org:20333" | ||
] | ||
} | ||
} |
Empty file.
Oops, something went wrong.