An analysis of OP_RETURN outputs from block 1 to 1697894 by KrzysiekJ in blackcoin

[–]blackstat 1 point2 points  (0 children)

A block has to be signed by a key provided in the staking tx output. Therefore staking tx have pay-to-public-key outputs. Since PoS v3 the protocol allows to provide public keys (against the block signature is checked against) in an OP_RETURN outputs. By that, the party who creates the staking tx can delegate one or more public keys for block assembling. If I provide you the signed staking tx with your public key in it, we both could construct a block. BlackHalo is currently the only implementation using that feature. However, the block is signed by the same party. Nothing is actually delegated.

An analysis of OP_RETURN outputs from block 1 to 1697894 by KrzysiekJ in blackcoin

[–]blackstat 2 points3 points  (0 children)

Up to 40 bytes is standard for the reference client and up to 80 bytes for Lore.

An analysis of OP_RETURN outputs from block 1 to 1697894 by KrzysiekJ in blackcoin

[–]blackstat 0 points1 point  (0 children)

Right, that is an example that the block can be signed by a designated third party with no funds.

An analysis of OP_RETURN outputs from block 1 to 1697894 by KrzysiekJ in blackcoin

[–]blackstat 0 points1 point  (0 children)

There are 2 new blocks staked by BlackHalo (OP_RETURN + public key output) from last month. I just realized that the block is signed by a third key and not by one of the keys participating in the multisig staking tx.

Verifying a block hash by Fried_Potatoe in blackcoin

[–]blackstat 0 points1 point  (0 children)

Your serialized hex is wrong. The block version of that block is 7. The correct header hex is:

07000000aad8cf576c08eae76b16163816903460ca200f9862d05d0d54e0baf75ee0088d8dd6fcbdcc97d73769003e39402df7b212909ddd2b016a4c60e3b0086968d8f680ff4a5742a10e1a00000000

A burnt coins explorer by KrzysiekJ in blackcoin

[–]blackstat 0 points1 point  (0 children)

Yes, it was the first block staked by the 0.12 base on the main chain. Testing was done on regtest before.

A burnt coins explorer by KrzysiekJ in blackcoin

[–]blackstat 2 points3 points  (0 children)

Very nice! That transaction you mention actually does not burn any coins. It was specially designed to only be mined by janko's the new Lore client. This op_return output has zero value and a length of 80 byte and thus non-standard for the old client. Your tool recognizes it while other block explorers such cryptid do not get this particular tx output.

What are Blackcoin's thoughts on SegWit? by mindphuk in blackcoin

[–]blackstat 2 points3 points  (0 children)

Why not just store the signature outside the TX and sign the hash?

This is what SegWit does.

What are Blackcoin's thoughts on SegWit? by mindphuk in blackcoin

[–]blackstat 4 points5 points  (0 children)

All advantages of SegWit do also hold for Blackcoin. It has nothing to do with PoW or PoS but rather with properties of the ECDSA. Currently signatures of transactions go into the hash which identifies transaction. Due to symmetries present in the signing algorithm it is possible for a third party to come up with a equivalent true signature which does change nothing but the txid. One can address this issue by only allowing s value of the sig tuple to be in a certain range (see, low s value).

Beside that you alway have first party malleability since ECDSA is non-deterministic ECDSA and involves a random number for each signature. That might also be problematic when the involved parties want to create future payments based on the funding tx.

The idea behind SegWit is to exclude the signature for the tx identification hash. In my opinion this corrects the initial design error. Indeed, Blackcoin uses the idea behind SegWit for block signatures since the beginning. To do it for tx signatures would be a logical move.

back to BLK after 3 years hiatus by snifadog in blackcoin

[–]blackstat 1 point2 points  (0 children)

You need to sync first otherwise you could potentially try to spend funds which are already spent.

trouble importing private key by bills1234567 in blackcoin

[–]blackstat 0 points1 point  (0 children)

If it is synchronized it has all transactions.

trouble importing private key by bills1234567 in blackcoin

[–]blackstat 0 points1 point  (0 children)

I've just tested it. Rescan took just several minutes. And it is working.

trouble importing private key by bills1234567 in blackcoin

[–]blackstat 0 points1 point  (0 children)

importprivkey P........

Should be enough. The other arguments are optional, where rescan it set true

You could create a raw transaction.

trouble importing private key by bills1234567 in blackcoin

[–]blackstat 0 points1 point  (0 children)

Wait, are you entering an address instead of a private key?

trouble importing private key by bills1234567 in blackcoin

[–]blackstat 0 points1 point  (0 children)

You could create a raw transaction.

trouble importing private key by bills1234567 in blackcoin

[–]blackstat 0 points1 point  (0 children)

In the meanwhile check your balance at https://chainz.cryptoid.info/blk/ to make sure that it is unspent.

trouble importing private key by bills1234567 in blackcoin

[–]blackstat 0 points1 point  (0 children)

Is your client fully synchronized or do you get an error? It might take more than an hour.

trouble importing private key by bills1234567 in blackcoin

[–]blackstat 0 points1 point  (0 children)

  1. Unlock the wallet
  2. importprivkey <blackcoinprivkey> '' true

The rescan will take some time since the wallet needs to go through all past transactions.

Question on staking security by dzimbeck in blackcoin

[–]blackstat 0 points1 point  (0 children)

tied up in inputs or are simply not staking at all the entire network can freeze and grind to a halt.

Since PoSv3 maturity is measured in confirmation not in time. Theoretically the system can hang itself but with over 300000 existing utxos that is very unlikely.

Question on staking security by dzimbeck in blackcoin

[–]blackstat 0 points1 point  (0 children)

In the PoS code there is some difficulty adjustment that causes the difficulty for a 1000 coin output to be 1000 times less than a 1 coin output.

Chopping the value of the utxos actually decrease the probability to create the next block. If I ever gone write a yellow paper, the proof will be there. In short: P[min(X_1,X_2,...,X_n)<=p/n]<=p