Pages:
Author

Topic: [ANN][XHD] Hidecoin Official thread | Double SHA-256 | NodeJS - page 17. (Read 34876 times)

sr. member
Activity: 700
Merit: 251
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
sr. member
Activity: 700
Merit: 251
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.
member
Activity: 91
Merit: 10
legendary
Activity: 1453
Merit: 1030
sr. member
Activity: 700
Merit: 251
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.
legendary
Activity: 1453
Merit: 1030
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.

sr. member
Activity: 700
Merit: 251
Version 0.3.2 released

Fixed many bugs. Try it!
legendary
Activity: 1453
Merit: 1030
Quote

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

02-02-2017 10:45:18.259 TID:F0977700 [Error] 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] Invalid new block 59002: Invalid timestamp (New timestamp:1486028696 last timestamp (59001):1486028710)
02-02-2017 10:44:59.041 TID:F0977700 [Error] 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..

sr. member
Activity: 700
Merit: 251
Don't forget possible time warp exploit

What is time warp exploit?
sr. member
Activity: 374
Merit: 250
@EuroLine

can you get a pool this time, getting harder to go solo at this time.
hero member
Activity: 521
Merit: 500
Core 0.3.1 released!

JSON RPC is working!
Documentation: https://hidecoin.info/wallet/rpc
Great work !
Web wallet UI gives time out error.

Any progress on tx limitations ?
Don't forget possible time warp exploit, Pascalcoin is latest project that has this problem.
Also make sure that old wallets are rejected when there is an important update.
Very good advices
sr. member
Activity: 461
Merit: 250
Core 0.3.0 released!

....

How much hidecoins do you have? Smiley
Not enough !  Grin
sr. member
Activity: 461
Merit: 250
Core 0.3.1 released!

JSON RPC is working!
Documentation: https://hidecoin.info/wallet/rpc
Great work !
Web wallet UI gives time out error.

Any progress on tx limitations ?
Don't forget possible time warp exploit, Pascalcoin is latest project that has this problem.
Also make sure that old wallets are rejected when there is an important update.
sr. member
Activity: 700
Merit: 251
Core 0.3.1 released!

JSON RPC is working!
Documentation: https://hidecoin.info/wallet/rpc
sr. member
Activity: 700
Merit: 251
Core 0.3.0 released!

Now local wallets are much faster than ever.

Plans for 0.3.1:
1. Checking balances and sending coins via RPC.

Plans for 0.3.2:
1. Transaction list via RPC.
2. Changing fees.

How much hidecoins do you have? Smiley
sr. member
Activity: 700
Merit: 251
Prime nodes are updated
legendary
Activity: 1453
Merit: 1030
Development has been good so far. I'm very curious what will happen to the wallet behavior when more people point hashes towards this coin.
Also looking forward to the rpc additions.

Exchanges will do a code audit, they'll find a way to connect order books to wallet balances if they really want to list XHD.
Pages:
Jump to: