forknote / cryptonote-generator Goto Github PK
View Code? Open in Web Editor NEWGenerate Cryptonote coin with 1 command
Generate Cryptonote coin with 1 command
Test checking is there a new option added in the config needs to be added. It will reduce the amount of potential critical errors.
When I run;
bash generator.sh -f config.json
I get the following error;
/root/generator/extensions/core/bytecoin.json
Making pre-tests in file /root/generator/generated_files/tmp/src/CMakeLists.txt
Traceback (most recent call last):
File "lib/file-modification.py", line 164, in
for line in fileinput.input([args.source + file['path']], inplace=True):
File "/usr/lib/python2.7/fileinput.py", line 237, in next
line = self._readline()
File "/usr/lib/python2.7/fileinput.py", line 316, in _readline
os.rename(self._filename, self._backupfilename)
OSError: [Errno 2] No such file or directory
I am running Ubuntu 16.04.3 LTS and ran install_dependencies.sh with no issues whatsoever.
I'm unable to see any obvious issues flipping through the extension, but "Still incompatible with Bytecoin clones" is listed in the general description. Before I set up a new testnet, is this extension not suggested to be used currently, or does the description imply that merge mining with Bytecoin is not working, while tx-extra is working, or vice versa?
Question is directed to @pmitchev, but I will accept any qualified answer.
steps to reproduce:
Install fresh Ubuntu Server 16.04
sudo apt-get update && sudo apt-get upgrade -y
sudo apt-get install git
git clone https://github.com/forknote/cryptonote-generator.git generator
cd generator
bash install_dependencies.sh
output reaches the stage to install build-essential python-dev gcc-4.9 and so on,
errors are: Unable to locate package libboost1.61-all-dev, Couldn't find any package by glob 'libboost1.61-all-dev', and Couldn't find any package by regex 'libboost1.61-all-dev'
How do I get the premined coins?
I created a config JSON using this tool: http://forknote.net/create/
and when I put a wallet address, it doens't even appear in the config response...
Where do I get the wallet address anyway?
i tried various json rpc clients and i keep getting the same error message invalid request i tried this but still invalid request
curl -X POST --data '{"jsonrpc":"2.0","method":"getStatus","params":[],"id":1}' http://localhost:8070/json_rpc
In walletd-spent-transfers-tracking-mode.json
Execute /home/dollarydoos/generator/extensions/walletd-spent-transfers-tracking-mode.json
- Making pre-tests in file /home/dollarydoos/generator/generated_files/tmp/src/Transfers/TransfersContainer.h
+ Pretest: marker exists - SpentOutputDescriptor(const TransactionOutputInformationIn& transactionInfo);
+ Pretest: marker exists - TransactionTypes::OutputType m_type;
+ Pretest: marker exists - uint64_t unlockTime;
+ Pretest: marker exists - SpentOutputDescriptor getSpentOutputDescriptor() const { return SpentOutputDescriptor(*this); }
+ Pretest: marker exists - bool addTransaction(const TransactionBlockInfo& block, const ITransactionReader& tx, const std::vector<TransactionOutputInformationIn>& transfers);
+ Pretest: marker exists - bool deleteUnconfirmedTransaction(const Crypto::Hash& transactionHash);
+ Pretest: marker exists - bool markTransactionConfirmed(const TransactionBlockInfo& block, const Crypto::Hash& transactionHash, const std::vector<uint32_t>& globalIndices);
+ Pretest: marker exists - > SpentTransfersMultiIndex;
+ Pretest: marker exists - bool addTransactionOutputs(const TransactionBlockInfo& block, const ITransactionReader& tx,
+ Pretest: marker exists - void copyToSpent(const TransactionBlockInfo& block, const ITransactionReader& tx, size_t inputIndex, const TransactionOutputInformationEx& output);
+ Pretest: marker exists - SpentTransfersMultiIndex m_spentTransfers;
ERROR: marker not found - SpentOutputDescriptor(uint64_t amount, uint32_t globalOutputIndex);
And in walletd-extension.json
the changes go through fine but the following error shows up in the build:
[ 48%] Building CXX object src/CMakeFiles/Wallet.dir/Wallet/WalletGreen.cpp.o
/home/dollarydoos/generator/generated_files/dollarydoos/src/Wallet/WalletGreen.cpp: In member function ‘virtual std::vector<CryptoNote::WalletOutput> CryptoNote::WalletGreen::getAddressOutputs(const string&) const’:
/home/dollarydoos/generator/generated_files/dollarydoos/src/Wallet/WalletGreen.cpp:1136:37: error: ‘const struct CryptoNote::TransactionOutputInformation’ has no member named ‘requiredSignatures’
output.requiredSignatures = out.requiredSignatures;
^
src/CMakeFiles/Wallet.dir/build.make:86: recipe for target 'src/CMakeFiles/Wallet.dir/Wallet/WalletGreen.cpp.o' failed
make[2]: *** [src/CMakeFiles/Wallet.dir/Wallet/WalletGreen.cpp.o] Error 1
CMakeFiles/Makefile2:752: recipe for target 'src/CMakeFiles/Wallet.dir/all' failed
Thanks for all your work, fantastic tool! Keep at it
When Louisd'or is ready add it as core plugin
Did several tries, every single time I'm getting this error:
2018-Jan-06 01:26:28.277608 ERROR [BlockchainSynchronizer] Failed to load: genesis block hash does not match stored state, read 7b933ca7336f0c9ccb05e61ed6eeddb26501a5316fb2829f04a963168cdede7d, expected a2210cd02bbbf68cca11b219ae6
Here is step-by-step what I'm doing:
1. Launch a brand new Ubuntu 16.04 LTS server
2. sudo apt-get update
3. sudo apt-get upgrade
4. Install dependencies according to https://github.com/facebook/rocksdb/blob/master/INSTALL.md, otherwise install fails.
5. wget https://github.com/forknote/forknote/releases/download/2.1.2/forknote-linux.tar.gz
6. tar -zxvf forknote-linux.tar.gz
7. cd /home/ubuntu/forknote-linux
8. Create "configs/FakeCoin.conf" using the online wizard (skipping reward address and genesis block)
9. ./simplewallet --config-file configs/FakeCoin.conf --generate-new-wallet genesis.wallet --password 1234567890
10. Same wizard, add wallet address for reward and the IP of the newly launched server, export it as FakeCoin.json
11. cd /home/ubuntu/; git clone https://github.com/forknote/cryptonote-generator.git generator
12. cd /home/ubuntu/generator/
13. bash install_dependencies.sh
14. bash generator.sh -f configs/FakeCoin.json -c '-j2'
15. cd /home/ubuntu/generator/generated_files/builds/FakeCoin-linux/
16. ./FakeCoind --print-genesis-tx --genesis-block-reward-address FT7wrEqKTy7UaXPS7bc1btgGR4DX2fCzw3sk7cde5r8v1XALNc1BaKVMPHDm2JcLP81UbeAmq2ssfJE8TWpFdvk7GdDVeJU (this is the address that I created with simplewallet, before compiling)
16. Add genesis block to FakeCoin.json
17. bash generator.sh -f configs/FakeCoin.json -c '-j2'
Everything else is working, I can mine, create wallets, etc.
Hi. I have succesfully used cryptonote generator on the project ive been working on. This coin is from original cryptonote repo. However, it seems there is issue as mention below:
This is the config used to generate updated coin.
{
"base_coin": {
"name": "bytecoin",
"git": "https://github.com/amjuarez/bytecoin.git"
},
"core": {
"SEED_NODES": [
"45.76.59.48:18080",
"45.77.7.102:18080"
],
"EMISSION_SPEED_FACTOR": 20,
"DIFFICULTY_TARGET": 240,
"CRYPTONOTE_DISPLAY_DECIMAL_POINT": 8,
"CRYPTONOTE_COIN_VERSION": 1,
"MONEY_SUPPLY": "860519296101000000",
"DEFAULT_DUST_THRESHOLD": 100000,
"MINIMUM_FEE": 100000,
"CRYPTONOTE_MINED_MONEY_UNLOCK_WINDOW": 100,
"CRYPTONOTE_BLOCK_GRANTED_FULL_REWARD_ZONE": 100000,
"MAX_TRANSACTION_SIZE_LIMIT": 1000000000,
"CRYPTONOTE_PUBLIC_ADDRESS_BASE58_PREFIX": 201181141,
"DIFFICULTY_CUT_V1": 60,
"DIFFICULTY_CUT_V2": 60,
"DIFFICULTY_CUT": 0,
"DIFFICULTY_LAG_V1": 15,
"DIFFICULTY_LAG_V2": 15,
"DIFFICULTY_LAG": 0,
"DIFFICULTY_WINDOW_V1": 360,
"DIFFICULTY_WINDOW_V2": 360,
"DIFFICULTY_WINDOW": 17,
"ZAWY_DIFFICULTY_V3": 1,
"ZAWY_DIFFICULTY_DIFFICULTY_BLOCK_VERSION": 3,
"UPGRADE_HEIGHT_V2": 3000,
"P2P_DEFAULT_PORT": 18080,
"RPC_DEFAULT_PORT": 18081,
"BYTECOIN_NETWORK": "f698e4a9-c9fa-72de-88b2-61a26fc339af",
"CRYPTONOTE_NAME": "ciphs",
"DAEMON_NAME": "ciphsd",
"GENESIS_COINBASE_TX_HEX": "010a01ff0001e7b2ef96f117029b2e4c0281c0b02e7c53291a94d1d0cbff8883f8024f5142ee494ffbbd08807121018e2905aaa1e1ec59b43dcb423531a89eecdb895a9e6c4bd7cb16c2513d615b3a",
"CHECKPOINTS": "",
"MAX_BLOCK_SIZE_INITIAL": 100000
},
"extensions": [
"core/bytecoin.json",
"bug-fixes.json",
"print-genesis-tx.json",
"blockchain-explorer.json"
]
}
Hope this help.
Plugin, duplicating cli commands into json rpc methods
When including the bug-fixes.json
extension generation of new coin fails. The issue seems to be in line 166-179:
{
"path": "/src/CryptoNoteCore/DatabaseBlockchainCache.cpp",
"changes": [
{
"action": "replace",
"marker": "cacheStart = 1;",
"parameters": {
"text": [
" cacheStart = 0;"
]
}
}
]
},
compile fails because cacheStart
is not found. Fixed issue by removing line block.
cc1: all warnings being treated as errors
CMakeFiles/cmTC_5cc43.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_5cc43.dir/CheckFunctionExists.c.o' failed
make[1]: *** [CMakeFiles/cmTC_5cc43.dir/CheckFunctionExists.c.o] Error 1
make[1]: Leaving directory '/home/demon/generator/generated_files/d3moncoin/build/release/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_5cc43/fast' failed
make: *** [cmTC_5cc43/fast] Error 2
im new to this and dont understand this would like the help plz and thank you
I've been trying to run the generator for a while and keep on bumping into the same issue,
has anyone seen this?
/src/CryptoNoteCore/SwappedMap.h:198:8: error: no member named 'cout' in namespace 'std' ?
157 errors when I try to generate Bytecoin on v1.0.3.387().
I am trying to create a web wallet however it seems that the bytecoin json rpc api only supports named parameters and not positional parameters i am trying and trying but failing to edit any existing php scripts like easybitcoin.php cause i keep getting invalid request because of the positonal parameters so is there any php json rpc client tthat supports named parameters?
.
when i try to print the genesis tx hex it says
Failed to parse arguments: Failed to initialize currency object
When running generator.sh I get the following error:
$ bash generator.sh
Updating ...
Already up-to-date.
Make temporary copy...
cp: cannot copy a directory, ‘/cygdrive/d/gen/generator/generated_files//.’, o itself, ‘/cygdrive/d/gen/generator/generated_files/tmp/.’
Remove temporary files...
system:
Win server 2008 R2 datacenter edition
cmake, boost and cygwin 32bit all newest versions.
I am using the Generator, and when I get to the end, and try to make the wallet, I get in the Wallet the error that I don't have the BlockchainIndices file, and IBlock, etc.
Then when I use the first compile with the Generator, then do the second one just with the Cryptonotefoundation instructions. It then gives me a BlockchainIndices Error.
And I followed the instructions, got the genesis block, and now am trying to get 2 Ubuntu computers to find each other but they can't.
A script, which installs dependencies on various OS is needed.
I ran install_dependencies.sh smoothly but now keep on getting this, has anyone seen this ?
I already successfully generated binaries on OSX & Windows but keep on running into this issue here...
c++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See file:///usr/share/doc/gcc-5/README.Bugs for instructions.
external/gtest/CMakeFiles/gtest.dir/build.make:62: recipe for target 'external/gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o' failed
make[2]: *** [external/gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o] Error 4
CMakeFiles/Makefile2:270: recipe for target 'external/gtest/CMakeFiles/gtest.dir/all' failed
make[1]: *** [external/gtest/CMakeFiles/gtest.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Add functionality to create coins based on Monero
Hi. I have succesfully used cryptonote generator on the project ive been working on. This coin (https is from original cryptonote repo. However, it seems there is issue as mention below:
This is the config used to generate updated coin.
{
"base_coin": {
"name": "bytecoin",
"git": "https://github.com/amjuarez/bytecoin.git"
},
"core": {
"SEED_NODES": [
"45.76.59.48:18080",
"45.77.7.102:18080"
],
"EMISSION_SPEED_FACTOR": 20,
"DIFFICULTY_TARGET": 240,
"CRYPTONOTE_DISPLAY_DECIMAL_POINT": 8,
"CRYPTONOTE_COIN_VERSION": 1,
"MONEY_SUPPLY": "860519296101000000",
"DEFAULT_DUST_THRESHOLD": 100000,
"MINIMUM_FEE": 100000,
"CRYPTONOTE_MINED_MONEY_UNLOCK_WINDOW": 100,
"CRYPTONOTE_BLOCK_GRANTED_FULL_REWARD_ZONE": 100000,
"MAX_TRANSACTION_SIZE_LIMIT": 1000000000,
"CRYPTONOTE_PUBLIC_ADDRESS_BASE58_PREFIX": 201181141,
"DIFFICULTY_CUT_V1": 60,
"DIFFICULTY_CUT_V2": 60,
"DIFFICULTY_CUT": 0,
"DIFFICULTY_LAG_V1": 15,
"DIFFICULTY_LAG_V2": 15,
"DIFFICULTY_LAG": 0,
"DIFFICULTY_WINDOW_V1": 360,
"DIFFICULTY_WINDOW_V2": 360,
"DIFFICULTY_WINDOW": 17,
"ZAWY_DIFFICULTY_V3": 1,
"ZAWY_DIFFICULTY_DIFFICULTY_BLOCK_VERSION": 3,
"UPGRADE_HEIGHT_V2": 3000,
"P2P_DEFAULT_PORT": 18080,
"RPC_DEFAULT_PORT": 18081,
"BYTECOIN_NETWORK": "f698e4a9-c9fa-72de-88b2-61a26fc339af",
"CRYPTONOTE_NAME": "ciphs",
"DAEMON_NAME": "ciphsd",
"GENESIS_COINBASE_TX_HEX": "010a01ff0001e7b2ef96f117029b2e4c0281c0b02e7c53291a94d1d0cbff8883f8024f5142ee494ffbbd08807121018e2905aaa1e1ec59b43dcb423531a89eecdb895a9e6c4bd7cb16c2513d615b3a",
"CHECKPOINTS": "",
"MAX_BLOCK_SIZE_INITIAL": 100000
},
"extensions": [
"core/bytecoin.json",
"bug-fixes.json",
"print-genesis-tx.json",
"blockchain-explorer.json"
]
}
Hope this help.
This is the link to the project https://github.com/ciphscodex/ciphs/blob/master/src/CryptoNoteConfig.h (the original code before the update)
I still get this error...
Transaction too big
I deleted two files with name max-transaction-size-limit.json from the generator core.
But after another compilation still get this error..
And I try to send only 40.000 that is not much...
I don't understand why when I send 10,000 then transaction size is around 90,000 bytes
And in BCN when I sand 300,000 then size of transaction is around 4,000 bytes.
I didn't change anything in config.json except name nods an genesis...
Many of the scripts included in the repo are using windows line endings instead of unix line endings.
Solution:
run dos2unix on all files edited on windows before uploading.
margotgarcia:generator rubens.garcia$ bash generator.sh -f sneakcoin.json -c '-j3'
Traceback (most recent call last):
File "lib/environment_variables.py", line 31, in
config = json.load(json_data)
File "/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/init.py", line 290, in load
*_kw)
File "/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/init.py", line 338, in loads
return _default_decoder.decode(s)
File "/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 366, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 382, in raw_decode
obj, end = self.scan_once(s, idx)
ValueError: Expecting property name: line 2 column 2 (char 3)
Remove temporary files...
margotgarcia:generator rubens.garcia$ sudo bash generator.sh -f sneakcoin.json -c '-j3'
Password:
Traceback (most recent call last):
File "lib/environment_variables.py", line 31, in
config = json.load(json_data)
File "/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/init.py", line 290, in load
*_kw)
File "/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/init.py", line 338, in loads
return _default_decoder.decode(s)
File "/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 366, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 382, in raw_decode
obj, end = self.scan_once(s, idx)
ValueError: Expecting property name: line 2 column 2 (char 3)
Remove temporary files...
generator doesnt accept prefixes longer as 2 chars like: 0xc761172
hey say , expected on column 49 which is after 0x.
compile.sh executes command with hardcoded value (the boost directory):
https://github.com/dashcoin/cryptonote-generator/blob/master/compile.sh#L47
COIN parameter is deprecated in Bytecoin 1.0.3(). It still exists in tests.
Partial output:
Execute /home/useraccount/cryptonote-generator/extensions/print-genesis-tx.json
- Making pre-tests in file /home/useraccount/cryptonote-generator/generated_files/tmp/src/Daemon/Daemon.cpp
+ Pretest: marker exists - #include "CryptoNoteCore/Core.h"
+ Pretest: marker exists - arg_testnet_on = {
+ Pretest: marker exists - bool command_line_preprocessor(const boost::program_options::variables_map& vm, LoggerRef& logger);
+ Pretest: marker exists - command_line::add_arg(desc_cmd_sett, arg_testnet_on);
+ Pretest: marker exists - po::notify(vm);
+ Pretest: marker exists - currencyBuilder.testnet(testnet_mode);
- Making changes in file /home/useraccount/cryptonote-generator/generated_files/tmp/src/Daemon/Daemon.cpp
+ Added text before marker: #include "CryptoNoteCore/Core.h"
+ Added text before marker: arg_testnet_on = {
+ Added text after marker: bool command_line_preprocessor(const boost::program_options::variables_map& vm, LoggerRef& logger);
+ Added text after marker: command_line::add_arg(desc_cmd_sett, arg_testnet_on);
+ Added text after marker: po::notify(vm);
+ Added text after marker: currencyBuilder.testnet(testnet_mode);
- Making pre-tests in file /home/useraccount/cryptonote-generator/generated_files/tmp/src/CryptoNoteCore/Currency.h
+ Pretest: marker exists - CurrencyBuilder& maxBlockNumber(uint32_t val) { m_currency.m_maxBlockHeight = val; return *this; }
- Making changes in file /home/useraccount/cryptonote-generator/generated_files/tmp/src/CryptoNoteCore/Currency.h
+ Added text before marker: CurrencyBuilder& maxBlockNumber(uint32_t val) { m_currency.m_maxBlockHeight = val; return *this; }
- Making pre-tests in file /home/useraccount/cryptonote-generator/generated_files/tmp/src/CryptoNoteCore/Currency.cpp
+ Pretest: marker exists - CurrencyBuilder& CurrencyBuilder::emissionSpeedFactor(unsigned int val) {
- Making changes in file /home/useraccount/cryptonote-generator/generated_files/tmp/src/CryptoNoteCore/Currency.cpp
+ Added text before marker: CurrencyBuilder& CurrencyBuilder::emissionSpeedFactor(unsigned int val) {
Create patch
diff: extra operand 'tmp'
diff: Try 'diff --help' for more information.
Remove temporary files...
-c argument does not work properly.
Hypothesis:
I have an idea that sending a transaction with a large amount of coin hashes in it and a mixin above 0 will cause it to be unconfirmed for a week or so until it is cancelled. In the case of TurtleCoin, it happens when we send amounts of 2,500,000+ TRTL with a mixin above 0. The coins, i suspect, are still on the wallet where they originated, because when loading the wallet in the GUI and doing a reset of the funds you will see the total coins increment all the way as if the coins never left until the absolutely last line of transaction history where it sees the hung transaction. My assumption is that it will not allow these coins return to circulation because they're deemed "double spent" maybe.
Here is an example of an unconfirmed transaction from early in the life of the network.
The issue was referenced in other threads, but no solutions have been found, to my knowledge.
https://github.com/turtlecoin/meta/issues/21
https://github.com/amjuarez/bytecoin/issues/163
Questions:
Is there a way to do the equivalent of rescanning the spent transaction hashes to add them back to the wallet? Monero has a function like rescan_spent
that looks like it was made to remedy this situation.
Would the max_transaction_size extension be useful or relevant in avoiding this in the future?
In your experience, where do you think the coins reside? With the sender or recipient in this case?
Mentioning relevant parties for comment, @pmitchev @valiant1x
Hey. When trying to run generator.sh on windows an error is thrown.
"value error: Expecting , delimiter: Line 11 column 46 (char 288)"
Any suggestions?
Hi. I tried to config cryptonote generator but im stuck. I have workable coin and want to update to latest bytecoin. Current version having problem with json rpc. im stuck at this part
CRYPTONOTE_PUBLIC_ADDRESS_BASE58_PREFIX
If referring to cryptonotestarter the prefix is different. Certainly start with 0x. My coin is based on fork from Cryptonote repo. How to fill address prefix so it will be the same. i try and error..not useful. and my wallet does not start with numbers. is there any tools to do this?
At least with webwallet extention
Want to write the equivalent of an upstart in ubuntu 16 for my seed nodes but having some issues, basically want to convert into a systemd service on my servers,
description "mycoin daemon"
start on runlevel [23]
stop on shutdown
exec sudo -u fork /home/fork/generated_files/build/yourcoin-linux/yourcoind
post-stop exec sleep 30
respawn
respawn limit 5 30
UPGRADE_HEIGHT and MAX_BLOCK_SIZE_INITIAL should not be in config example
theres no documentation on how the genesis block reward first i am mining right now and ony getting a few coins at a time the first block didnt had the premine value
Title saids it all. Here is the error:
generator.sh: line 59: ${NEW_COIN_PATH}/build/release/src/${__CONFIG_core_daemon_name]}: bad substitution
Genesis block :
Hi,sorry for my bad english,but i am really not into coding,so can you please explain me how to fix this:
Traceback (most recent call last):
File "lib/environment_variables.py", line 31, in
config = json.load(json_data)
File "/usr/lib/python2.7/json/init.py", line 278, in load
**kw)
File "/usr/lib/python2.7/json/init.py", line 326, in loads
return _default_decoder.decode(s)
File "/usr/lib/python2.7/json/decoder.py", line 366, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python2.7/json/decoder.py", line 382, in raw_decode
obj, end = self.scan_once(s, idx)
ValueError: Expecting , delimiter: line 11 column 46 (char 290)
I understood there is some problem with file environment_variables.py,but i don't know how to fix this.Can you please explain?
I finished my pool, daemon is ok, everything is ok, miner connects to pool but i dont have stats. Where did i wrong?
Network
Hash Rate:
Block Found:
Difficulty:
Blockchain Height:
Last Reward:
Last Hash:
So I have now gone through the generator about 20-30 times, and I saw it about to go through perfectly 1 time, it had a huge list of
CC
CC
CC
CC
CC
CC
CC
CC
CC
All in a row, and then it had IBlock.cpp and BlockchainIndices.cpp
But that happened 1 time, and I realized that I had put in a wrong value somewhere. And had to go back in and fix it, and when I fixed it, because I had used the example file and forgot to change the name or something. But then when I went back and did it again, it didn't work. Then when I tried with the.json from the Forknote Create page, I have not seen it work like that 1 single time.
I have done everything, I have gone back and deleted the secret folder in my cd directory, I have killed the Daemon with pkill -9 -f (filename), and cleared the generator to try it over at least 20 times as well as the servers, and on 3 computers.
And Everything compiled in the Generator, but the Wallet will not compile. And the Error is that I am missing the IBlock.cpp and BlockchainIndices files. And I am missing them, they are not there. The generator is not generating them. I did see it do it once, but that was not with the config.json file. I have not seen the config.json file work at all.
It works in fact, but some dependencies are missing and "bash generator.sh" will not work properly
MAX_BLOCK_SIZE_INITIAL test don't work, because the json parser have some problem when you have ***** in key:value
Getting this error on ubuntu 16.04
Failed to validate block : Wrong block version
Anyone know a fix?
Apply patch
patch: **** Can't create temporary file tests/data/account-002bee2f8e16f5de4db0d3b8ce9227c8c0b7f9688348b028e022cb43f210968b40a69cdc8531fd4a2e7c9e144eec48bb477733d70ce5f9b85338a07cb10b849ad8fb.o1o2KtF : File name too long
There is currently an issue with the bytecoin
tests that is preventing coins from being generated. The issue appears to exists in the /tests/CMakeLists.txt
file in the bytecoin
repo. Specifically lines 32-36:
add_executable(NodeRpcProxyTests ${NodeRpcProxyTests})
add_executable(PerformanceTests ${PerformanceTests})
add_executable(SystemTests ${SystemTests})
add_executable(TransfersTests ${TransfersTests})
add_executable(UnitTests ${UnitTests})
I have created a ticket for it in the bytecoin repo (https://github.com/amjuarez/bytecoin/issues/110) but am including it here in case you wanted to add an exception to the build process to capture error and negate it. I fixed it on my end by removing line 152 of generated_files/bytecoin/CMakeLists.txt
which is add_subdirectory(tests)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.