Bitcoin Forum
May 24, 2024, 11:03:17 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
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 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 »
321  Bitcoin / Development & Technical Discussion / Bitcoin External Dependencies and Block Generation Time on: July 28, 2014, 09:34:18 AM
Am I correct in thinking that the Bitcoin difficulty adjustment algorithm which dictates the target hash's difficulty value for blocks, where difficulty is adjusted every 2016 blocks, purely adjusts itself based on the current hashing power on the network?

Am I also therefore correct in guessing it does this so as to avoid having to use any external dependencies and thus any potentially centralised resources which could also be an attack vector such as referring to an external time server?
322  Alternate cryptocurrencies / Altcoin Discussion / Re: Proof of Stake Mining and NXT's and PPC's Implementations on: July 27, 2014, 09:47:50 PM
Nxt and PPC use the same algo except NXT is trying to develop a look ahead forgeing known as transparent forgeing, which as I understand it has not been implemented yet. Also NXT uses a 720? rolling block checkpoint to stop re-orgs.

Sunny King appears to be offerigng opt out checkpointing in PPC 0.5

Ok, so how does that differ with regard to SHA-256 as I understand that NXT is pure PoS?
323  Bitcoin / Development & Technical Discussion / Re: Programmability of Coloured coins on: July 27, 2014, 09:45:14 PM
I understand that there are a few tool kits out there for coloured coins which run off of the Bitcoin blockchain, for example, coloured coins, mastercoin and counterparty.

Although I understand that the underlying mechanisms for each are different I am looking to find out more about the variety of custom blockchains and transaction validation rules that can be created with each.

For example:

    1. Could an altcurrency be created using any of these which uses demurrage in the same way that Freicoin does?

    2. Could an altcurrency be created using any of these which destroys coins in the same way that PPC does per transaction?

I'm very sure based on it's initial spec that Ethereum will be able to do this. However it is not a coloured coin on the bitcoin blockchain so I would like to exclude it from the topic of this thread.

Specifically I'm interested in whether coloured coins, mastercoin and counterparty can do this?

[EDIT: I've moved this thread to Development & Technical Discussion as it may be more appropriate there.]
324  Alternate cryptocurrencies / Altcoin Discussion / Re: Proof of Stake Mining and NXT's and PPC's Implementations on: July 27, 2014, 05:15:08 PM
Thanks for all this. Will take a look at the NXT links.

Asking about PPC specifically does the blockchain expect PoS then SHA-256 blocks in a set order of rotation or does one supersede the other based on criteria such as the number of available PoS wallets left open for mining dropping off?

How will the SHA-256 degrade over time?

I believe I read somewhere that Sunny King said he had a solution to centralised check pointing in PPC if so how does this work?
325  Bitcoin / Development & Technical Discussion / Programmability of Coloured coins on: July 27, 2014, 05:07:33 PM
I understand that there are a few tool kits out there for coloured coins which run off of the Bitcoin blockchain, for example, coloured coins, mastercoin and counterparty.

Although I understand that the underlying mechanisms for each are different I am looking to find out more about the variety of custom blockchains and transaction validation rules that can be created with each.

For example:

    1. Could an altcurrency be created using any of these which uses demurrage in the same way that Freicoin does?

    2. Could an altcurrency be created using any of these which destroys coins in the same way that PPC does per transaction?

326  Bitcoin / Development & Technical Discussion / Re: Blockchain Keyframing on: July 11, 2014, 01:39:50 PM
There are hosted wallets, but the true mobile wallets like "android wallet" use SPV mode see section 8 of the bitcoin whitepaper.  SPV wallets do not trust the nodes they query except for some denial of service/privacy issues, and have basically no storage requirements and very low bandwidth (far below your keyframes), and they do not use a centralized server (they use the bitcoin p2p network).

What you're describing is a pretty radical change in the security model. In Bitcoin we do not trust the data we are given at all, we verify it. The 'keyframes' you'd send there would need to be trusted, if one bogusly claimed to reassign ownership of a bunch of coin— no one relying on that data could tell (at least not mechanically).

It's perfectly reasonable to relax the security assumptions for some applications, mobile wallets— for example— but thats why we have SPV mode already.

I didn't realise SPV mode had been implemented, this is much nicer.

Quote
While network nodes can verify transactions for themselves, the simplified method can be fooled by an attacker's fabricated transactions for as long as the attacker can continue to overpower the network. One strategy to protect against this would be to accept alerts from network nodes when they detect an invalid block, prompting the user's software to download the full block and alerted transactions to confirm the inconsistency.

I'm guessing here that Satoshi is referring to an attack that creates another Merkel tree with the same values that matches the Merkel tree within a given block, substituting in a transaction in place of the 'real' one and then feeding it to the node requesting it via a Sybil attack to make it look like the real version on the network? Have I understood that correctly?

"One strategy to protect against this would be to accept alerts from network nodes when they detect an invalid block" - does the Bitcoin network currently do this?

Yes, the keyframe idea would involve trust so therefore breaks the current security model; I would therefore class it as flawed. Thanks.
327  Bitcoin / Development & Technical Discussion / Re: Blockchain Keyframing on: July 11, 2014, 01:10:24 PM
By 'currently valid' I'm assuming you mean unspent outputs.

Two problems I can see right now;

Firstly, the UTXO set is rather large. There are roughly ten million unspent transaction outputs. Would you store txid and output only, or the entire transaction? Even the former case could take up hundreds of megabytes.

Yes, unspent outputs, that's the term I should have used. My objective here was to make the blockchain being used smaller for devices such as smart phones etc rather than relying on a trusted node, e.g. many mobile wallet providers give a view of the blockchain to the wallet client from a central sever that stores an entire copy of the blockchain, from what I understand.

In this instance I'm suggesting storing the entire transaction I guess (not thought this one through fully) as if it is in a previous block then trust that that transaction is valid is implicit (based on its depth in the blockchain).

Secondly, how do you propose that a client verifies the UTXO set it receives is valid? Currently we achieve a UTXO set by cumulatively verifying from the genesis block.

What security does a smart phone wallet employ when it gets its view of the blockchain via its central server? This is a questions as I don't fully know the answer.

My thinking was that if you're using a keyframe block then at least you know all the nodes who've propagated it have checked its validity. Perhaps having it as a side chain may work better.

And an issue rather than a problem;

The reference client already stores a full UTXO database. There is no need for this to propagate over the network. After bootstrapping it would be technically possible for bitcoin-core to discard older blocks. It just doesn't do that at present.

This is an issue of convenience versus file size and bandwidth. Perhaps this idea is infeasible or there are better possible solutions but right now for me at least I know the current blockchain size is causing problems on some wallets.

When you say "discarding older blocks" are you talking about just storing the UTXOs in the database?
328  Bitcoin / Development & Technical Discussion / Blockchain Keyframing on: July 11, 2014, 12:44:46 PM
I had an idea a while back and can’t see any major flaws with it from a technical perspective it so thought I’d get feedback here.

In an attempt to reduce blockchain size would it be possible to introduce ‘keyframe’ blocks to a blockchain which summarise the blockchain’s current valid transactions all in one block?

This block would have different validation rules to normal blocks, but in essence it summarise all the currently valid transactions across the entire blockchain.

So to pick a number – every 500 blocks a keyframe block is generated (about 3.4 days for BTC).

This means nodes only concerned with the current transaction balances need only store at most 500 blocks back to the last keyframe block. Nodes which wish to see the entire transaction history store the entire blockchain.
329  Bitcoin / Bitcoin Technical Support / Re: Relocating the blockchain data on: July 11, 2014, 08:57:36 AM
That's odd, what does your bitcoin.conf look like?

I've searched but cannot find a bitcoin.conf associated with that bitcoin-qt.exe from what I can tell. Perhaps I'm missing something?

Are you trying to edit the actual file in the bitcoin folder as that won't work you need to edit a short cut not the direct bitcoin.exe

Yes: I'm editing the shortcut, not the .exe. The shortcut is in the same directory as the .exe.

Code:
mklink /D %appdata%\bitcoin G:\bitcoin
then run bitcoin as normal (without datadir argument)

I'd prefer to do this without creating symbolic links if possible.

That's odd, what does your bitcoin.conf look like?

330  Bitcoin / Bitcoin Technical Support / Re: Relocating the blockchain data on: July 10, 2014, 05:54:07 PM
This may sound stupid but remove all the " and it should work

C:\Program Files (x86)\Bitcoin\bitcoin-qt.exe –datadir=G:\Bitcoin
C:\Program Files (x86)\Litecoin\litecoin-qt.exe –datadir=G:\Litecoin

Tried that and windows 7 reports:

Quote
The name 'C:\Program' specified in the target box is not valid. Make sure the path and file name a correct.

So looks like it can't handle the spaces without the quotes. I also expanded the double quotes around the entire string and got  a different error.

For some reason it does not raise any errors on:
C:\Program Files (x86)\Bitcoin\bitcoin-qt.exe \datadir=G:\Bitcoin
C:\Program Files (x86)\Litecoin\litecoin-qt.exe \datadir=G:\Litecoin

But still uses the same directories on C drive when loaded from the shortcut.
331  Bitcoin / Bitcoin Technical Support / Relocating the blockchain data on: July 10, 2014, 09:25:35 AM
This question has been asked before but I cannot find a solution to my specific problem.

I have created shortcuts for both bitcoin-qt and litecoin-qt and pointed them at their respective data folders which I have copied from their original locations. However they wallet software run from the shortcuts is using the original locations for the blockchain data.

Original locations:
C:\Users\[username]\AppData\Roaming\Bitcoin\
C:\Users\[username]\AppData\Roaming\Litecoin\

Copied them to:
G:\Bitcoin
G:\Litecoin

Under Properties>Target for each shortcut I have then specified:
"C:\Program Files (x86)\Bitcoin\bitcoin-qt.exe" –datadir=G:\Bitcoin
"C:\Program Files (x86)\Litecoin\litecoin-qt.exe" –datadir=G:\Litecoin

However when the shortcuts are run the wallets launch and the original directory locations are still being used. I know this because I cannot move or edit the original directories when the application is running. If I exit, move the originals directories and restart the shortcuts the wallets try to re-download the entire blockchain.

I am using windows 7.
332  Bitcoin / Development & Technical Discussion / Re: Sending messages to the blockchain with a bitcoin transaction. on: July 08, 2014, 06:05:24 PM

Thanks for this. Is there any application or scripting framework you could point me at to do this so I don't have to write my own software to broadcast a transaction with a message in it.
333  Bitcoin / Development & Technical Discussion / Re: Sending messages to the blockchain with a bitcoin transaction. on: June 30, 2014, 08:43:25 PM
It's not supported by the Bitcoin-Qt command line interface.

You need to build a raw transaction using the OP_RETURN op code in an output with the message that you want.

Then you can use signrawtransaction and send rawtransaction to send the transaction and hope that a miner will confirm it for you.

Thanks for this; can you point me somewhere where I can read up on how to do this?
334  Bitcoin / Development & Technical Discussion / Re: Sending messages to the blockchain with a bitcoin transaction. on: June 30, 2014, 05:18:17 PM
Does anyone know if there is a way to write the message from the Bitcoin-QT command line interface then?
335  Bitcoin / Development & Technical Discussion / Sending messages to the blockchain with a bitcoin transaction. on: June 30, 2014, 05:06:41 PM
I thought that one could optionally send a short message (40 bytes) to be written to the blockchain with a valid transaction.

If it's possible how do I do this?

336  Bitcoin / Development & Technical Discussion / Counterparty and Coloured Coins on: June 30, 2014, 04:44:04 PM
Could someone explain to me how the system of counterparty and coloured coins are different? From my limited understanding of both they seem pretty similar.
337  Alternate cryptocurrencies / Altcoin Discussion / Re: Proof of Stake Mining and NXT's and PPC's Implementations on: June 27, 2014, 07:55:46 PM
I try to answer that because I know Nxt very well.

In Nxt, we can predict the next forgers based on the current block. That is achieved by an algorithm that sorts the list of all accounts pseudo-randomly where those with a higher active stake are more likely to show up in the upper part of that list. The first account in the pseudo-randomly shuffled list has the first chance to forge the next block. If he does not, the next one is given the chance and so on -- until the next block is forged.

Retargetting is another algo that keeps the blocks time relatively stable. It modifies a certain value in the forging algo to make that sure. But it also makes it almost impossible to forge a better chain.

So NXT retargets but relative to what? Does this retargeting have external dependencies? For example I assume it's not relying on some external time server...

338  Alternate cryptocurrencies / Altcoin Discussion / Re: Proof of Stake Mining and NXT's and PPC's Implementations on: June 27, 2014, 03:42:32 PM
Here is the main problem with Proof of stake

https://bitcointalk.org/index.php?topic=615843.msg6751334#msg6751334

PoS need some form of trust like checkpointing or web of trust solutions to solve the problem which undermines the trustless nature  of cryptocuncies. IMO opinion we should aim for algorithms that make crryptocuncies more trustless i.e. removing dependence of pools etc

Thank you for this, its a very interesting point. Am I correct in thinking that PPC is SHA-256 hybrid in an attempt to rectify this ability to rewrite coin history if you were a large coin holder in the past?
339  Alternate cryptocurrencies / Altcoin Discussion / Proof of Stake Mining and NXT's and PPC's Implementations on: June 27, 2014, 05:42:09 AM
I'm trying to understand different Proof of Stake (PoS) implementations as they exist in NXT and PPC. I've given an overview of what I've managed to find online so far, but have lots of gaps in my knowledge, can anyone help answer the questions below.

NXT
This uses a 100% PoS mining process so the likelihood of being selected as the next node to mine a block is dictated by how many coins a user has in their unlocked wallet divided by all the other coins in all the other unlocked wallets on the network.

I understand each NXT block is every 60 seconds – how is this enforced by the network?


PPC
This uses a PoS/SHA-256 hybrid, where the reliance on SHA-256 will degrade at a predetermined rate with time.

How is SHA-256 combined with PoS in PPC to generate blocks?

The likelihood of mining a block, for a given unlocked wallet, is dictated by the coin-age of the coins for that wallet, as long as the coins are over 30 days old (not sure how many blocks this is).

How is a specific wallet selected to mine the next block from all the wallets able to use their coin-age?

What is the average block time for PPC and how is this enforced?

With the gradual decrease in reliance on SHA-256 over time how will this affect block generation times?

The bottom post here makes mention of some bugs relating to spending PPC coin age. Can anyone elaborate on what it was?

http://bitcoin.stackexchange.com/questions/20007/how-does-proof-of-stake-mining-work
340  Bitcoin / Bitcoin Technical Support / Windows and Linux Wallet and Blockchain client file interoperability on: June 19, 2014, 08:49:16 AM
Do the windows and Linux versions of bitcoinQT use the same wallet.dat file; i.e. can I move the wallet.dat file from a windows machine to a Linux one and have bitcoinQT work with that wallet?

Same question for the directories and files containing the blockchain data; i.e. can I move all the directories and files from the associated bitcoinQT directory which has an up to date version of the blockcahin on a windows hot wallet to the associated bitcoinQT directory for a Linux cold wallet to get that wallet to see the latest view of the blockchain?
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 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!