Bitcoin Forum
April 26, 2024, 07:20:32 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Warning: One or more bitcointalk.org users have reported that they strongly believe that the creator of this topic is a scammer. (Login to see the detailed trust ratings.) While the bitcointalk.org administration does not verify such claims, you should proceed with extreme caution.
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 [14] 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 »
  Print  
Author Topic: [ANN][XHD] Hidecoin Official thread | Double SHA-256 | NodeJS  (Read 34876 times)
hidecoin2016 (OP)
Sr. Member
****
Offline Offline

Activity: 700
Merit: 251


View Profile
February 17, 2017, 06:14:29 PM
 #261


Read the sources:
https://github.com/cryptocurs/hidecoin/blob/master/lib/Block.js#L376
https://github.com/cryptocurs/hidecoin/blob/master/lib/Block.js#L445

Difficulty of the next block is based on blocks of last two hours.
Transactions must be included in a block to be properly completed. When you send a transaction, it is broadcast to miners. Miners can then optionally include it in their next blocks. Miners will be more inclined to include your transaction if it has a higher transaction fee.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714159232
Hero Member
*
Offline Offline

Posts: 1714159232

View Profile Personal Message (Offline)

Ignore
1714159232
Reply with quote  #2

1714159232
Report to moderator
samspaces
Legendary
*
Offline Offline

Activity: 1451
Merit: 1030


View Profile
February 17, 2017, 06:19:46 PM
 #262

Quote

OK, there are several nodes sending valid blocks with higher timestamps:

02-02-2017 10:45:18.259 TID:F0977700 [Error] <TNetServerClient> Disconecting 89.249.254.45:50962 > Invalid remote timestamp. Difference:227 > 180

Thus making my blocks "invalid" through to too "old" time even though my clock is correct:

02-02-2017 10:44:59.041 TID:F0977700 [Error] <TPCOperationsComp> Invalid new block 59002: Invalid timestamp (New timestamp:1486028696 last timestamp (59001):1486028710)
02-02-2017 10:44:59.041 TID:F0977700 [Error] <TJSONRPCTcpIpClient> Sending Error JSON RPC id () : Error: Invalid timestamp (New timestamp:1486028696 last timestamp (59001):1486028710) payload:SUPRNOVAROXXXXXXXXXXXXRkmq4------- timestamp:1486028696 nonce:3038414114


What those guys exploit is an old bug which was fixed in bitcoin years ago. They send their blocks with a maximum "drift" ahead ..

Example:
It's now 11:30:00  and blockchain is at height 59000
Max Drift is 30 seconds

So they say they solved Block 59001 at 11:30:30 even though it's just 11:30:00 and now my pool finds the next block as 11:30:20 which is BEFORE 11:30:30 so the blockchain rejects the block and says "Nope, your clock is wrong (even though my clock is right!) and I reject your block because the block before was discovered later"...


We need the dev here to fix that..

hidecoin2016 (OP)
Sr. Member
****
Offline Offline

Activity: 700
Merit: 251


View Profile
February 17, 2017, 08:20:25 PM
 #263

Version 0.3.2 released

Fixed many bugs. Try it!
samspaces
Legendary
*
Offline Offline

Activity: 1451
Merit: 1030


View Profile
February 17, 2017, 08:32:56 PM
 #264

Version 0.3.2 released

Fixed many bugs. Try it!

Ah, just switched to 0.3.0. Is that version still valid?

Time warp is no difficulty issue. Please read my previous post with a quote from the Pascalcoin thread.

hidecoin2016 (OP)
Sr. Member
****
Offline Offline

Activity: 700
Merit: 251


View Profile
February 17, 2017, 09:00:10 PM
 #265

Version 0.3.2 released

Fixed many bugs. Try it!

Ah, just switched to 0.3.0. Is that version still valid?

Time warp is no difficulty issue. Please read my previous post with a quote from the Pascalcoin thread.



Yes. 0.3.0 is still valid, but 0.3.2 is connecting much faster.

https://github.com/cryptocurs/hidecoin/blob/master/lib/Block.js#L437
Code:
if (lastBlockUnpacked && ((unpacked.time < lastBlockUnpacked.time - 60) || (unpacked.time > hours.now() + 60))) {
      lastValidationError = 'Wrong time: ' + lastBlockUnpacked.time + ', ' + unpacked.time + ', ' + hours.now()
      callback(false)
      return
}

Block with time greater than current time +1 minute will not pass the validation.
btw50
Member
**
Offline Offline

Activity: 91
Merit: 10


View Profile
February 18, 2017, 05:27:24 AM
 #266

https://gyazo.com/0930c0fdc433bc3516bc315f037c243d
samspaces
Legendary
*
Offline Offline

Activity: 1451
Merit: 1030


View Profile
February 18, 2017, 05:28:10 AM
 #267



Please bother to check your posts.
btw50
Member
**
Offline Offline

Activity: 91
Merit: 10


View Profile
February 18, 2017, 05:41:23 AM
 #268



Please bother to check your posts.

at what hash rate you guys got ?
hidecoin2016 (OP)
Sr. Member
****
Offline Offline

Activity: 700
Merit: 251


View Profile
February 18, 2017, 05:16:49 PM
 #269

Version 0.3.3 released!

Now fee is calculating by the formula:
transaction_size_in_bytes * 3000 micoins

Update your config.js: set minerMinimalFee to 1000000
Read the instruction how to update to 0.3.3 - https://hidecoin.info/updating-to-version-0.3.3.html

Note that minimal fee in web wallet is 1 XHD. Use your local wallet to lower fee. We will fix this soon.

What about 'promiscuous mode' (F7) ?
Promiscuous mode is for fast validation. It is not recommended, since in this case the wallet does not check the validity of the blocks.
hidecoin2016 (OP)
Sr. Member
****
Offline Offline

Activity: 700
Merit: 251


View Profile
February 19, 2017, 12:55:02 PM
 #270

Version 0.3.4 released!

New RPC methods:
walletSendCoins(recipients, fee) - send coins to multiple recipients in one transaction.
walletCreateAddress() - create new address in wallet.

https://hidecoin.info/wallet/rpc

Using these methods you can accept payments on your website:
1. Create a forwarder:
walletCreateAddress
2. Wait for coins:
walletGetBalances
3. Send coins to basic address:
walletSendCoins
EuroLine
Hero Member
*****
Offline Offline

Activity: 521
Merit: 500


View Profile
February 19, 2017, 02:17:52 PM
 #271

Version 0.3.4 released!

New RPC methods:
walletSendCoins(recipients, fee) - send coins to multiple recipients in one transaction.
walletCreateAddress() - create new address in wallet.

https://hidecoin.info/wallet/rpc

Using these methods you can accept payments on your website:
1. Create a forwarder:
walletCreateAddress
2. Wait for coins:
walletGetBalances
3. Send coins to basic address:
walletSendCoins
Very cool. Keep on working

Servers been shutted down forever. Working on compensate program.
If need a pool public or private PM me.
samspaces
Legendary
*
Offline Offline

Activity: 1451
Merit: 1030


View Profile
February 19, 2017, 03:08:58 PM
 #272

Nice upgrades.

From where do we make the rpc calls? In bitcoin, one uses the daemon. I tried 'rpcinfo' but that only returns errors.
EuroLine
Hero Member
*****
Offline Offline

Activity: 521
Merit: 500


View Profile
February 19, 2017, 03:35:05 PM
 #273

Nice upgrades.

From where do we make the rpc calls? In bitcoin, one uses the daemon. I tried 'rpcinfo' but that only returns errors.
If you want to get something from this call, you need to add it to call list

Servers been shutted down forever. Working on compensate program.
If need a pool public or private PM me.
samspaces
Legendary
*
Offline Offline

Activity: 1451
Merit: 1030


View Profile
February 19, 2017, 03:54:49 PM
 #274

Nice upgrades.

From where do we make the rpc calls? In bitcoin, one uses the daemon. I tried 'rpcinfo' but that only returns errors.
If you want to get something from this call, you need to add it to call list

Let me rephrase the question.
How do I use the rpc commands.
hidecoin2016 (OP)
Sr. Member
****
Offline Offline

Activity: 700
Merit: 251


View Profile
February 19, 2017, 04:46:33 PM
 #275

[Let me rephrase the question.
How do I use the rpc commands.

Write your own program and use Smiley
RPC is for programmers.
If you want to send coins, use your local wallet.
felixbrucker
Hero Member
*****
Offline Offline

Activity: 700
Merit: 500


View Profile WWW
February 19, 2017, 05:19:53 PM
 #276

[Let me rephrase the question.
How do I use the rpc commands.

Write your own program and use Smiley
RPC is for programmers.
If you want to send coins, use your local wallet.

i guess what he meant is a proper doc, like this: https://hidecoin.info/wallet/rpc
hidecoin2016 (OP)
Sr. Member
****
Offline Offline

Activity: 700
Merit: 251


View Profile
February 19, 2017, 05:55:50 PM
 #277

[Let me rephrase the question.
How do I use the rpc commands.

Write your own program and use Smiley
RPC is for programmers.
If you want to send coins, use your local wallet.

i guess what he meant is a proper doc, like this: https://hidecoin.info/wallet/rpc

Or he meant the program like bitcoin-cli.
samspaces
Legendary
*
Offline Offline

Activity: 1451
Merit: 1030


View Profile
February 19, 2017, 06:18:37 PM
 #278

Yup, I'm used to giving rpc commands to a daemon client.
Trololoh
Sr. Member
****
Offline Offline

Activity: 461
Merit: 250



View Profile
February 19, 2017, 06:29:29 PM
 #279

@hidecoin2016
Could we please keep current solo cpu mining ?
Right now its fun to mine even for small users.
The moment pools with GPU or other high performance hardware is introduced it will be the usual small group who only think short term "mine and dump".
Switching to POS would be even better.
hidecoin2016 (OP)
Sr. Member
****
Offline Offline

Activity: 700
Merit: 251


View Profile
February 19, 2017, 08:08:37 PM
 #280

@hidecoin2016
Could we please keep current solo cpu mining ?
Right now its fun to mine even for small users.
The moment pools with GPU or other high performance hardware is introduced it will be the usual small group who only think short term "mine and dump".
Switching to POS would be even better.

I made RPC support not for pools but for exchange. This coin must have price or what is it for?
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 [14] 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!