Snipa22 / nodejs-pool

Other
479 stars 422 forks source link

pls help me develop #297

Closed vtnplus closed 6 years ago

vtnplus commented 6 years ago

Hi develop group. I don't understand what is this.prefix = 178; Where i can check prefix when i want create new coin info in lib/coin/newcoin.js

bobbieltd commented 6 years ago

Write a Javascript and use this cnUtil.address_decode(....) , put whatever coin address inside to know prefix. Any way, if you don’t mind, give me the coin name, I’ll provide prefix for you.

Snipa22 commented 6 years ago

Or go look inside the coin source code, because that's where anyone sane goes and gets them. :)

vtnplus commented 6 years ago

Sample coins. https://bitcointalk.org/index.php?topic=2813261.0

Website: https://stellite.cash Website Mirror: https://stellitecoin.github.io Block Explorer: https://explorer.stellite.cash/

@bobbieltd you can write for me cnUtil.address_decode(....) with it ? @Snipa22 i have see in code method "prop" with prop payment can work ? or not ?. if work what i need config use prop method ?

Snipa22 commented 6 years ago

Nope. Never implemented it. Not enough call/desire to.

vtnplus commented 6 years ago

ok. nodejs-pool is supper pool nodejs language i think :). This is good project "go look inside the coin source code, because that's where anyone sane goes and gets them" <== are you know where in code ? thanks master

vtnplus commented 6 years ago

var cnUtil = require('cryptonote-util') this.prefix = cnUtil.address_decode(new Buffer(config.poolServer.poolAddress)) this.intPrefix <=== What is this friend. where i can decode it

bobbieltd commented 6 years ago

@vtnplus It’s better to stay away this coin. intPrefix is for integrated address. I don’t want you to waste your time for this fork. So you should choose other coin.

bobbieltd commented 6 years ago

@vtnplus Here is the source code https://github.com/stellitecoin/Stellite/tree/master/src , prefix and intPrefix is in it ) (...BASE58_PREFIX...). Please close this issue because we still have more issues to solve, my friend ? This coin is not welcom.

vtnplus commented 6 years ago

thanks @bobbieltd

bobbieltd commented 6 years ago

Thanks. For your question : uint64_t const CRYPTONOTE_PUBLIC_ADDRESS_BASE58_PREFIX = 0x2419; uint64_t const CRYPTONOTE_PUBLIC_INTEGRATED_ADDRESS_BASE58_PREFIX = 0x7096; uint16_t const P2P_DEFAULT_PORT = 20188; In decimal : this.prefix = 9241; this.intPrefix = 28822;

It's ETN/XMR's fork, so you just copy xmr.js in coin and payment to new file stl.js , it will work with nodejs-pool.

vtnplus commented 6 years ago

thanks you @bobbieltd . when i rent hash power form nicehash ( diff 400015) but all bad share password nicehash ( x ) Are you solution for me ?

bobbieltd commented 6 years ago

NiceHash need 400000 difficulty port (add a port like that). Anyway, you should try with mining by your PC first to see if shares are valid.

bobbieltd commented 6 years ago

Oạch, người Việt hả. Nói mẹ tiếng Việt đi cho rồi 😂

vtnplus commented 6 years ago

Á đù. nhận email hơi bị bất ngờ

bobbieltd commented 6 years ago

Mấy cái coin lởm ( không có exchange ) đừng làm. Mất time. stl.js thì dùng etn.js nhé (lấy bên repo mình), branch nodejs-pool-etn. Có điều mình không thích giúp đối thủ cạnh tranh ( hình như bạn làm pool cho cả Electroneum và Ethereum, hai cái này trong điểm của mình) 😂😂😂.

vtnplus commented 6 years ago

Mới đây truy thu điện cao quá mới làm ctytonight. Chứ trước toàn ETH va EQHASH 🗡 . STL no clone tu ETN moi ác đạn nhỉ

bobbieltd commented 6 years ago

Ác gì đâu, pool mình ETN mà. Sửa codes chạy ngon lành rồi. STL thoải mái đi. cái ETN chạy là do mình fix. Trước chục chặc payment thì do MO fix. Tóm lại nodejs-pool ngon lành. Pool đối tác mình cũng sắp open source code cho ITNS rồi. Hiện tại có 5 coins mình né hỗ trợ : XMR, ETH, ETN, AEON và ITNS.

vtnplus commented 6 years ago

cryptonote ITNS ngon nhi. cho minh xin 2 config blocktemplate cua no di. chuyen trai qua dao :D

bobbieltd commented 6 years ago

ITNS không copy kiểu bình thường được đâu nha. Thằng đấy nó sửa code cả đống mới chạy được. Hiện tại nó chưa open source, mình cũng không nắm được hết codes của nó. Pool của nó đây https://itnspool.net , khi nào nó chịu open source thì mình bảo.

vtnplus commented 6 years ago

uh con do la crytonode ma. cai pool dang co la crytonight. khac nhau ve block template.

bobbieltd commented 6 years ago

Chuẩn khỏi chỉnh. Đấy là nodejs-pool cho forknote (ITNS) và cần chỉnh lại util + code vài chỗ vì khác l nhau block template (hơi khác thôi). Mình không nắm được source ( có nắm đk cũng không cho bạn được vì của người ta ). Mấy hôm trước có thảo luận thì nó bảo từ từ sẽ open source cái pool đấy.

bobbieltd commented 6 years ago

For info, here is recently released ITNS (forknote) nodejs-pool for everyone from Venthos : https://github.com/Venthos/nodejs-pool