nodejs-pool icon indicating copy to clipboard operation
nodejs-pool copied to clipboard

pls help me develop

Open vtnplus opened this issue 8 years ago • 22 comments

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

vtnplus avatar Feb 06 '18 08:02 vtnplus

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.

bobbieltd avatar Feb 06 '18 09:02 bobbieltd

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

Snipa22 avatar Feb 06 '18 09:02 Snipa22

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 ?

vtnplus avatar Feb 06 '18 09:02 vtnplus

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

Snipa22 avatar Feb 06 '18 09:02 Snipa22

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 avatar Feb 06 '18 09:02 vtnplus

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

vtnplus avatar Feb 06 '18 09:02 vtnplus

@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 avatar Feb 06 '18 10:02 bobbieltd

@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.

bobbieltd avatar Feb 06 '18 10:02 bobbieltd

thanks @bobbieltd

vtnplus avatar Feb 06 '18 10:02 vtnplus

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.

bobbieltd avatar Feb 06 '18 11:02 bobbieltd

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

vtnplus avatar Feb 06 '18 17:02 vtnplus

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 avatar Feb 06 '18 17:02 bobbieltd

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

bobbieltd avatar Feb 06 '18 18:02 bobbieltd

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

vtnplus avatar Feb 06 '18 19:02 vtnplus

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) 😂😂😂.

bobbieltd avatar Feb 07 '18 07:02 bobbieltd

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ỉ

vtnplus avatar Feb 07 '18 08:02 vtnplus

Á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.

bobbieltd avatar Feb 07 '18 09:02 bobbieltd

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

vtnplus avatar Feb 07 '18 12:02 vtnplus

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.

bobbieltd avatar Feb 07 '18 13:02 bobbieltd

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

vtnplus avatar Feb 07 '18 17:02 vtnplus