megacrypto
|
|
September 08, 2017, 01:48:37 AM |
|
i have been trying to run cryptonote-universal-pool but whenever a miner connects i get: Error: Failed to parse block at BlockTemplate.nextBlob (/home/mylin/Pools/cryptonote-xmr-pool/lib/pool.js:129:23) at Miner.getJob (/home/mylin/Pools/cryptonote-xmr-pool/lib/pool.js:308:41) at handleMinerMethod (/home/mylin/Pools/cryptonote-xmr-pool/lib/pool.js:510:28) at handleMessage (/home/mylin/Pools/cryptonote-xmr-pool/lib/pool.js:645:13) at Socket.<anonymous> (/home/mylin/Pools/cryptonote-xmr-pool/lib/pool.js:699:25) at emitOne (events.js:96:13) at Socket.emit (events.js:191:7) at readableAddChunk (_stream_readable.js:178:18) at Socket.Readable.push (_stream_readable.js:136:10) at TCP.onread (net.js:561:20)
2017-09-08 03:44:20 [master] Pool fork 1 died, spawning replacement worker...
this is the config file I'm using: { "coin": "masari", "symbol": "MSR", "coinUnits": 100000000, "coinDifficultyTarget": 120,
"logging": { "files": { "level": "info", "directory": "logs", "flushInterval": 5 }, "console": { "level": "info", "colors": true } },
"poolServer": { "enabled": true, "clusterForks": "auto", "poolAddress": "5iLW4hWEt1X6zSpLYqZiWGU7HUmcCWzYgDDSMBGpRX9hV2uaZXqVxBjPKP96hdZJeXYGS7yRVeDa9Gu9XosRRKFE6fSEzxM", "blockRefreshInterval": 1000, "minerTimeout": 900, "ports": [ { "port": 3333, "difficulty": 1000, "desc": "Low end hardware" }, { "port": 5555, "difficulty": 2000, "desc": "Mid range hardware" }, { "port": 7777, "difficulty": 10000, "desc": "High end hardware" }, { "port": 8888, "difficulty": 10000, "desc": "Hidden port", "hidden": true } ], "varDiff": { "minDiff": 100, "maxDiff": 200000, "targetTime": 100, "retargetTime": 30, "variancePercent": 30, "maxJump": 100 }, "fixedDiff": { "enabled": true, "addressSeparator": "." }, "shareTrust": { "enabled": true, "min": 10, "stepDown": 3, "threshold": 10, "penalty": 30 }, "banning": { "enabled": true, "time": 600, "invalidPercent": 25, "checkThreshold": 30 } },
"payments": { "enabled": true, "interval": 600, "maxAddresses": 50, "mixin": 3, "transferFee": 5000000000, "minPayment": 1000000000000, "maxTransactionAmount": 0, "denomination": 100000000000 },
"blockUnlocker": { "enabled": true, "interval": 30, "depth": 60, "poolFee": 0, "devDonation": 0, "coreDevDonation": 0, "extraFeaturesDevDonation":0 },
"api": { "enabled": true, "hashrateWindow": 600, "updateInterval": 30, "port": 8117, "blocks": 30, "payments": 30, "ssl": false, "sslport": 8119, "sslcert": "./certs/cert.pem", "sslkey": "./certs/privkey.pem", "sslca": "./certs/chain.pem", "password": "somepass" },
"daemon": { "host": "127.0.0.1", "port": 38081 },
"wallet": { "host": "127.0.0.1", "port": 38082 },
"redis": { "host": "127.0.0.1", "port": 6379 },
"monitoring": { "daemon": { "checkInterval": 60, "rpcMethod": "getblockcount" }, "wallet": { "checkInterval": 60, "rpcMethod": "getbalance" } },
"charts": { "pool": { "hashrate": { "enabled": true, "updateInterval": 60, "stepInterval": 1800, "maximumPeriod": 86400 }, "workers": { "enabled": true, "updateInterval": 60, "stepInterval": 1800, "maximumPeriod": 86400 }, "difficulty": { "enabled": true, "updateInterval": 1800, "stepInterval": 10800, "maximumPeriod": 604800 }, "price": { "enabled": true, "updateInterval": 1800, "stepInterval": 10800, "maximumPeriod": 604800 }, "profit": { "enabled": true, "updateInterval": 1800, "stepInterval": 10800, "maximumPeriod": 604800 } }, "user": { "hashrate": { "enabled": true, "updateInterval": 180, "stepInterval": 1800, "maximumPeriod": 86400 }, "payments": { "enabled": true } } } }
|
|
|
|
thaer (OP)
Member
Offline
Activity: 134
Merit: 11
|
|
September 08, 2017, 03:19:43 AM |
|
@megacrypto Masari has a static mixin of 12, so your config needs to have that set as well (I see it set to 3). If that doesn't work (which is probably the case, because that config's for payments and not necessarily related to connections), I would speculate that the cryptonote-universal-pool source code is expecting the old version of the blocks (Masari uses Monero's v2 re-versioned as v1). I have yet to look at cryptonote-universal-pool source code so I would need to look deeper to address the issue.
Let me know if that helps!
|
|
|
|
bigpan
Newbie
Offline
Activity: 39
Merit: 0
|
|
September 08, 2017, 04:35:49 AM |
|
Work on having a more active account on Bitcointalk before launching your ann, otherwise it looks ugly.
Also, I'm pretty sure you can't just copy Monero's logo and just change the colors.
|
|
|
|
hola2011
Member
Offline
Activity: 104
Merit: 10
|
|
September 08, 2017, 04:46:38 AM |
|
So basically, this is a cloned coin for Monero.
|
|
|
|
thaer (OP)
Member
Offline
Activity: 134
Merit: 11
|
|
September 08, 2017, 04:55:51 AM |
|
For all intensive purposes at the current time the protocol is equivalent to the latest version of Monero (one due to hard-fork with next week), with removed legacy code, plus a few changes (i.e. mixin, fee source). I will be changing the logo very soon, but it will still be a green "M" of some sort.
|
|
|
|
elGuilleAR
|
|
September 08, 2017, 05:06:20 AM |
|
i have been trying to run cryptonote-universal-pool but whenever a miner connects i get: Error: Failed to parse block at BlockTemplate.nextBlob (/home/mylin/Pools/cryptonote-xmr-pool/lib/pool.js:129:23) at Miner.getJob (/home/mylin/Pools/cryptonote-xmr-pool/lib/pool.js:308:41) at handleMinerMethod (/home/mylin/Pools/cryptonote-xmr-pool/lib/pool.js:510:28) at handleMessage (/home/mylin/Pools/cryptonote-xmr-pool/lib/pool.js:645:13) at Socket.<anonymous> (/home/mylin/Pools/cryptonote-xmr-pool/lib/pool.js:699:25) at emitOne (events.js:96:13) at Socket.emit (events.js:191:7) at readableAddChunk (_stream_readable.js:178:18) at Socket.Readable.push (_stream_readable.js:136:10) at TCP.onread (net.js:561:20)
2017-09-08 03:44:20 [master] Pool fork 1 died, spawning replacement worker...
this is the config file I'm using: { "coin": "masari", "symbol": "MSR", "coinUnits": 100000000, "coinDifficultyTarget": 120,
"logging": { "files": { "level": "info", "directory": "logs", "flushInterval": 5 }, "console": { "level": "info", "colors": true } },
"poolServer": { "enabled": true, "clusterForks": "auto", "poolAddress": "5iLW4hWEt1X6zSpLYqZiWGU7HUmcCWzYgDDSMBGpRX9hV2uaZXqVxBjPKP96hdZJeXYGS7yRVeDa9Gu9XosRRKFE6fSEzxM", "blockRefreshInterval": 1000, "minerTimeout": 900, "ports": [ { "port": 3333, "difficulty": 1000, "desc": "Low end hardware" }, { "port": 5555, "difficulty": 2000, "desc": "Mid range hardware" }, { "port": 7777, "difficulty": 10000, "desc": "High end hardware" }, { "port": 8888, "difficulty": 10000, "desc": "Hidden port", "hidden": true } ], "varDiff": { "minDiff": 100, "maxDiff": 200000, "targetTime": 100, "retargetTime": 30, "variancePercent": 30, "maxJump": 100 }, "fixedDiff": { "enabled": true, "addressSeparator": "." }, "shareTrust": { "enabled": true, "min": 10, "stepDown": 3, "threshold": 10, "penalty": 30 }, "banning": { "enabled": true, "time": 600, "invalidPercent": 25, "checkThreshold": 30 } },
"payments": { "enabled": true, "interval": 600, "maxAddresses": 50, "mixin": 3, "transferFee": 5000000000, "minPayment": 1000000000000, "maxTransactionAmount": 0, "denomination": 100000000000 },
"blockUnlocker": { "enabled": true, "interval": 30, "depth": 60, "poolFee": 0, "devDonation": 0, "coreDevDonation": 0, "extraFeaturesDevDonation":0 },
"api": { "enabled": true, "hashrateWindow": 600, "updateInterval": 30, "port": 8117, "blocks": 30, "payments": 30, "ssl": false, "sslport": 8119, "sslcert": "./certs/cert.pem", "sslkey": "./certs/privkey.pem", "sslca": "./certs/chain.pem", "password": "somepass" },
"daemon": { "host": "127.0.0.1", "port": 38081 },
"wallet": { "host": "127.0.0.1", "port": 38082 },
"redis": { "host": "127.0.0.1", "port": 6379 },
"monitoring": { "daemon": { "checkInterval": 60, "rpcMethod": "getblockcount" }, "wallet": { "checkInterval": 60, "rpcMethod": "getbalance" } },
"charts": { "pool": { "hashrate": { "enabled": true, "updateInterval": 60, "stepInterval": 1800, "maximumPeriod": 86400 }, "workers": { "enabled": true, "updateInterval": 60, "stepInterval": 1800, "maximumPeriod": 86400 }, "difficulty": { "enabled": true, "updateInterval": 1800, "stepInterval": 10800, "maximumPeriod": 604800 }, "price": { "enabled": true, "updateInterval": 1800, "stepInterval": 10800, "maximumPeriod": 604800 }, "profit": { "enabled": true, "updateInterval": 1800, "stepInterval": 10800, "maximumPeriod": 604800 } }, "user": { "hashrate": { "enabled": true, "updateInterval": 180, "stepInterval": 1800, "maximumPeriod": 86400 }, "payments": { "enabled": true } } } }
As this is a Monero fork, you should you a Monero Pool fork. Compile with this and it will be running.
|
|
|
|
megacrypto
|
|
September 08, 2017, 12:10:30 PM Last edit: September 08, 2017, 12:20:46 PM by megacrypto |
|
@megacrypto Masari has a static mixin of 12, so your config needs to have that set as well (I see it set to 3). If that doesn't work (which is probably the case, because that config's for payments and not necessarily related to connections), I would speculate that the cryptonote-universal-pool source code is expecting the old version of the blocks (Masari uses Monero's v2 re-versioned as v1). I have yet to look at cryptonote-universal-pool source code so I would need to look deeper to address the issue.
Let me know if that helps!
i think this pool's code was revised for the v2 of Monero (As far as I understood from reading around) changing the mixin to 12 still gives the same error on the pool. For all intensive purposes at the current time the protocol is equivalent to the latest version of Monero (one due to hard-fork with next week), with removed legacy code, plus a few changes (i.e. mixin, fee source). I will be changing the logo very soon, but it will still be a green "M" of some sort.
this is what i have changed in the pool's config so far (i put a * next to it): "coin": "masari",* "symbol": "MSR",* "coinUnits": 1000000000000,* "coinDifficultyTarget": 120,* .... "payments": { "enabled": true, "interval": 600, "maxAddresses": 50, "mixin": 12,* "transferFee": 400000000,* "minPayment": 1000000000000,* "maxTransactionAmount": 0, "denomination": 1000000000000* },
As this is a Monero fork, you should you a Monero Pool fork. Compile with this and it will be running.
sorry, but i'm not following? this is a Monero pool fork
|
|
|
|
megacrypto
|
|
September 09, 2017, 01:27:32 AM |
|
now I'm trying to use minerd from another pc but this is what i get: * Rebuilt URL to: http://192.168.1.120:38083/ * Trying 192.168.1.120... * TCP_NODELAY set * Connected to 192.168.1.120 (192.168.1.120) port 38083 (#0) > POST / HTTP/1.1 Host: 192.168.1.120:38083 Accept: */* Accept-Encoding: deflate, gzip Content-Type: application/json Content-Length: 178 User-Agent: cpuminer/2.3.3 X-Mining-Extensions: midstate Expect: 100-continue
* Done waiting for 100-continue * The requested URL returned error: 404 Not found * Closing connection 0 [2017-09-09 03:17:23] HTTP request failed: The requested URL returned error: 404 Not found
if i run from the same machine: curl 192.168.1.120:38083/json_rpc -d '{"jsonrpc":"2.0","id":"0","method":"getbalance"}' -H 'Content-Type: application/json'
i get: { "id": "0", "jsonrpc": "2.0", "result": { "balance": 139454649945388, "unlocked_balance": 104635455393790 }
any ideas?
|
|
|
|
PotatoPants
|
|
September 09, 2017, 01:45:47 AM |
|
This project is already tanking..No premine and fair launch, except for the 4k blocks I just solo mined. LOLOL
This type of launch is a dime a dozen these days, projects without wallets, or fully thought through prior to launching. It's amazing that this is still happening..
So much potential and ruined based on devs actions so early on.
Agreed. There's no value in having a 0% pre-mine if the Dev is mining away whilst everyone else tries to build their linux binaries with zero instructions. I expect 9/10 people here don't even have a Linux machine set up. The rest of us have only the vaguest idea of how to compile the code from Github. By the time the Windows Wallet is up, there will effectively be a massive pre-mine already completed.
|
|
|
|
megacrypto
|
|
September 09, 2017, 02:10:23 AM |
|
if you want to build it on ubuntu 16.04 (thats what im using) here are the steps: sudo apt-get install build-essential cmake pkg-config libboost-all-dev libssl-dev libunbound-dev libminiupnpc-dev libunwind8-dev liblzma-dev libldns-dev libexpat1-dev doxygen graphviz
sudo apt-get install libgtest-dev && cd /usr/src/gtest && sudo cmake . && sudo make && sudo mv libg* /usr/lib/
git clone https://github.com/masari-project/masari.git
cd masari
make
to run the node you need to: cd build/release/bin/
./masarid
i usually use "screen" to run various nodes so instead of doing the "./masarid" , you do screen -S "msrnode" ./masarid
then you run the wallet (same way) screen -S "msrwallet" ./masari-wallet-cli
and you create your wallet ... hope that helps a bit
|
|
|
|
thaer (OP)
Member
Offline
Activity: 134
Merit: 11
|
|
September 09, 2017, 06:02:02 AM Last edit: September 09, 2017, 09:05:51 AM by thaer |
|
Agreed.
There's no value in having a 0% pre-mine if the Dev is mining away whilst everyone else tries to build their linux binaries with zero instructions.
I expect 9/10 people here don't even have a Linux machine set up. The rest of us have only the vaguest idea of how to compile the code from Github.
By the time the Windows Wallet is up, there will effectively be a massive pre-mine already completed.
edit: I've just gotten a hold of a Windows machine - the announcement post, and Github, have been updated accordingly ( https://github.com/masari-project/masari/releases/download/v0.1.0.0/masari-win-x64-v0.1.0.0.zip) . Mac binaries will have to wait until tomorrow. You'll have to excuse my developer ways, as I personally don't have a Windows or Mac operating system (and is evident by my premature release lacking binaries in order to get it out quickly), and most of my colleagues and people I interact with either have a Mac or Linux distribution - it sadly did not occur to me that this would be a blocker for some people. I will be getting my hands on both operating systems tomorrow, and this will resolve your concerns. As a note however, the instructions on Github are extremely clear for multiple platforms and are derived from Monero's codebase, so "zero instructions" is an invalid claim - hope that helps. P.S the hash rate is currently at ~5 kH/s, equivalent to 50 or so decently performant desktop machines, and is continuing to grow as people are mining/speculating on this coin (with still less than 1% of coin supply being mined). Thank you for your comments!
|
|
|
|
TheKryptonian
|
|
September 09, 2017, 04:20:34 PM |
|
Agreed.
There's no value in having a 0% pre-mine if the Dev is mining away whilst everyone else tries to build their linux binaries with zero instructions.
I expect 9/10 people here don't even have a Linux machine set up. The rest of us have only the vaguest idea of how to compile the code from Github.
By the time the Windows Wallet is up, there will effectively be a massive pre-mine already completed.
edit: I've just gotten a hold of a Windows machine - the announcement post, and Github, have been updated accordingly ( https://github.com/masari-project/masari/releases/download/v0.1.0.0/masari-win-x64-v0.1.0.0.zip) . Mac binaries will have to wait until tomorrow. You'll have to excuse my developer ways, as I personally don't have a Windows or Mac operating system (and is evident by my premature release lacking binaries in order to get it out quickly), and most of my colleagues and people I interact with either have a Mac or Linux distribution - it sadly did not occur to me that this would be a blocker for some people. I will be getting my hands on both operating systems tomorrow, and this will resolve your concerns. As a note however, the instructions on Github are extremely clear for multiple platforms and are derived from Monero's codebase, so "zero instructions" is an invalid claim - hope that helps. P.S the hash rate is currently at ~5 kH/s, equivalent to 50 or so decently performant desktop machines, and is continuing to grow as people are mining/speculating on this coin (with still less than 1% of coin supply being mined). Thank you for your comments! Glad to see a windows wallet release. I think if you get an original logo and someone releases a pool, this will be a promising project. But you must be clear about the direction you are going in. When you say this "started off as a pet project to understand Monero" it makes it sound like you're not serious about developing you own CrytoNote. Why did you change your mind from pet project to "its own blockchain project"? What are you planning for this project?
|
|
|
|
megacrypto
|
|
September 09, 2017, 05:48:16 PM |
|
Glad to see a windows wallet release. I think if you get an original logo and someone releases a pool, this will be a promising project. But you must be clear about the direction you are going in. When you say this "started off as a pet project to understand Monero" it makes it sound like you're not serious about developing you own CrytoNote. Why did you change your mind from pet project to "its own blockchain project"? What are you planning for this project?
i have been trying to get a pool running using the cryptonote-universal-pool but there seems to be some changes made to MSR that do not conform with the code (i posted the error im getting earlier) also tried to use minerd to solo mine directly on the node, but also no luck!! @thaer, maybe if you post the changes that were applied to MSR and also if you start a gitter or some sort of a chat channel, that would help the project a bit!
|
|
|
|
megacrypto
|
|
September 09, 2017, 06:04:39 PM |
|
why is the node show the time at UTC time? 2017-09-09 18:04:02.604 [miner 0] INFO global src/cryptonote_basic/miner.cpp:416 Miner thread was started [0] 2017-09-09 18:04:02.604 [P2P9] WARN miner src/cryptonote_basic/miner.cpp:305 Mining has started with 4 threads, good luck! 2017-09-09 18:04:02.604 [miner 1] INFO global src/cryptonote_basic/miner.cpp:416 Miner thread was started [1] 2017-09-09 18:04:02.604 [miner 2] INFO global src/cryptonote_basic/miner.cpp:416 Miner thread was started [2] 2017-09-09 18:04:02.604 [miner 3] INFO global src/cryptonote_basic/miner.cpp:416 Miner thread was started [3]
my machine's time is at UTC+2 ?! it should show 20:04:xx !
|
|
|
|
thaer (OP)
Member
Offline
Activity: 134
Merit: 11
|
|
September 10, 2017, 03:23:54 AM |
|
@TheKryptonian I will update the announcement thread with a more succinct explanation - in short the project is intended to expand the Altcoin market for Monero since there are no other forks aside from Aeon that help with diversity of research into the technology stack (i.e. rct pruning), which would ultimately feed back into Monero if useful, similar to Bitcoin in many ways (i.e. Segregated Witness from Litecoin).
@megacrypto A colleague of mine is setting up a Masari pool as well so I'll let you know what happens (I'll publish a fork of the pool's source code if there are any issues). It's in UTC because the network is in UTC (epoch timestamps).
As an update, there are now MacOS binaries available!
Cheers, Thaer
|
|
|
|
saLve88
|
|
September 10, 2017, 05:42:43 AM |
|
RPC port for GPU solo mine?
|
|
|
|
megacrypto
|
|
September 10, 2017, 10:58:39 AM |
|
RPC port for GPU solo mine?
i was using minerd which is a CPU miner
|
|
|
|
sstercan
Member
Offline
Activity: 97
Merit: 10
|
|
September 10, 2017, 11:12:46 PM |
|
i think masari needs pool and community. please open a slack or discord area for masari.
|
|
|
|
thaer (OP)
Member
Offline
Activity: 134
Merit: 11
|
|
September 11, 2017, 03:58:10 AM |
|
Thank you everyone for your valuable feedback!
@TheKryptonian I've updated the announcement post with a detailed description of our initiative for the Masari project - I'm looking forward to further feedback.
@sstercan I've added a Slack permanent invitation link - feel free to sign up and be first to join the Slack group.
Cheers, Thaer
|
|
|
|
Brucelats
|
|
September 11, 2017, 05:33:37 AM |
|
Thank you everyone for your valuable feedback!
@TheKryptonian I've updated the announcement post with a detailed description of our initiative for the Masari project - I'm looking forward to further feedback.
@sstercan I've added a Slack permanent invitation link - feel free to sign up and be first to join the Slack group.
Cheers, Thaer
How do i get this wallet working and solomining? I am using Win PC and after i downloaded Windows link there are several apps inside. Do i need to compile that to make wallet app or how? I ran first masarid, then after wallet cli, i created wallet inside it but now i have something with yellow letters no daemon... I am confused help how to make this thing working on Windows and how to Solomine. Also had this message: Error: wallet failed to connect to daemon: http://localhost:38081. Daemon either is not started or wrong port was passed. Please make sure daemon is running or restart the wallet with the correct daemon address.
|
|
|
|
|