Search content
Sort by

Showing 16 of 16 results by Charles Sweeney
Post
Topic
Board Bitcoin Technical Support
Re: Warning: Unknown block versions being mined? just seen this warning
by
Charles Sweeney
on 31/01/2020, 16:32:14 UTC

Just to explain the existence of its warning; with a different version numbers, the client would automatically assume that the miners could be voting for activation of an unknown rule for the network. This could be dangerous for the client if the client doesn't know what the miners are signalling for and thus what the change is about.

In this case, it's simply the fact that the miners are using overt ASICBoost which changes the versionbit to one that is non-standard. The client would automatically display a warning as it has an unknown version but it wouldn't be that big of a concern to most since it only appears in the debug.log.

Thanks, ranochigo.  That's interesting, so potentially it could be dangerous, so perhaps the "warning" word is correct.  So the client is throwing a warning because it's completely in the dark but everyone else knows what it is.  I think I can live with that!
Post
Topic
Board Bitcoin Technical Support
Merits 1 from 1 user
Re: Warning: Unknown block versions being mined? just seen this warning
by
Charles Sweeney
on 31/01/2020, 14:11:08 UTC
⭐ Merited by LFC_Bitcoin (1)
I am using the latest version of Bitcoin Core and I get the "warning" in the debug log.

Version:

"version": 190001,
"subversion": "/Satoshi:0.19.0.1/",

Warning:

"2020-01-31T13:48:49Z UpdateTip: new best=0000000000000000000b5b0e9239b0f34b17bd7127d8ea3e7df71fcff32c4da7 height=615367 version=0x20600000 log2_work=91.614776 tx=498470771 date='2020-01-31T13:48:17Z' progress=1.000000 cache=507.2MiB(3674023txo) warning='66 of last 100 blocks have unexpected version'"

I understand it's harmless but I don't like the look of it, particularly as I am not an expert in this field and any "warning" spooks me - especially if it's got anything to do with money!  I was pretty concerned when I first read it, so it was straight on to Google, ending up here (nice to be back btw).

If it must be reported, I think it could be phrased better.  Why be warned about something that is harmless??  Something like "info" or "notice" would be far better.  Would have saved me the time researching it and worrying about it!
Post
Topic
Board Development & Technical Discussion
Re: Blockchain Download Time
by
Charles Sweeney
on 21/03/2018, 15:41:27 UTC
Really it taking too much time...  I have only 100 kbps download speed show more than week download time. now I'm thinking what will happen whne lockchain reach to 1 TB . What will happen to my pc.

Just wait a week.  Once it's downloaded, the updates (a new block every 10 minutes) are very small and fast.  If it gets bigger, you'll need to get a bigger disk!
Post
Topic
Board Development & Technical Discussion
Re: Blockchain Download Time
by
Charles Sweeney
on 21/03/2018, 09:07:46 UTC
One question though, did you pay or were there any payments done for you to completely downloaded it?

You don't pay to download it.  I used an Amazon Web Services server instance for the download.  You need to pay for that.  I posted the costs for it above.  If you're using a PC on your home broadband it won't cost anything.
Post
Topic
Board Development & Technical Discussion
Re: Blockchain Download Time
by
Charles Sweeney
on 20/03/2018, 20:59:45 UTC
In Bitcoin?  That's a hard fork.

Well, it was worth a shot!  Maybe if it's that, or the end of Bitcoin...
Post
Topic
Board Development & Technical Discussion
Re: Blockchain Download Time
by
Charles Sweeney
on 20/03/2018, 19:01:47 UTC
Assuming there aren't any significant changes to the protocol to allow more on-chain transactions

Why not make a block every minute?  Make the reward 1.25 bitcoin so you still average 12.5 bitcoin every 10 minutes.  You still get 12.5 bitcoin every 10 minutes but you get 10 times the number of transactions confirmed.

Why stop at a minute, make a new block every 10 seconds, every second, again with a proportional reward to maintain the average of 12.5 bitcoin every 10 minutes?  could get a *lot* more transactions processed and more quickly.
Post
Topic
Board Development & Technical Discussion
Re: Blockchain Download Time
by
Charles Sweeney
on 20/03/2018, 13:31:55 UTC
If you are solo mining, then your mining software is probably getting its block headers from Bitcoin Core using a getwork API call.  In that case, Bitcoin Core has the transaction selecting algorithm coded into it. I haven't done any mining, so I don't know how configurable that algorithm is.  You do have a few command line options when starting up Bitcoin Core:  

  • -blockmaxweight=        Set maximum BIP141 block weight (default: 3000000)
  • -blockmaxsize=            Set maximum block size in bytes (default: 750000)
  • -blockprioritysize=        Set maximum size of high-priority/low-fee transactions in bytes (default: 0)
  • -blockmintxfee=       Set lowest fee rate (in BTC/kB) for transactions to be included in block creation. (default: 0.00001)

Excellent information again, thank you.  Yes, I did notice those options when playing with the core but didn't fully understand them.  So you could set blockmintxfee to quite a high value to only accept transactions with large fees.  Very interesting, so it's the core that determines what transactions are available to miners, hence no setting for it on BFGMiner.  So if you are using someone else's core, you have to go with their settings.  I suppose this goes back to the early days when every miner would have their own core and the core (bitcoind) did the mining.
Post
Topic
Board Development & Technical Discussion
Merits 1 from 1 user
Re: Blockchain Download Time
by
Charles Sweeney
on 20/03/2018, 12:31:24 UTC
⭐ Merited by ETFbitcoin (1)
Just out of curiosity, did you need to pay any bandwidth fees and if yes approx how much?

Bandwidth in, i.e. downloading the blockchain, is free.  Data transfer out is free for the first 1GB then $0.09 per GB after that.  Which would be expensive running as a full node if someone downloaded the entire blockchain of 172GB, would be ~ $15 every time (not sure if the transfer is measured in bits or bytes which could make a significant difference).  You wouldn't have any transfer out if you were using it privately, i.e. not accepting incoming requests/connections.  Plus, I believe data transfer between servers on the AWS network is free.

You pay for the storage.  I used 200GB of storage which is charged at $0.116 per GB per month, which equates to $23.20 for the month.

The server instance is one of their lower specs and costs $0.0264 per hour, which equates to (roughly) $19 a month.

The beauty of the AWS instances is that you can start and stop them at any time.  You only pay for what you use.  I have used this one for a few days just to download the blockchain and have a play with it.  In 5 1/2 days it's cost me $3.53 for the instance and around $5 for the storage.  My transfer out was 4.6GB, costing 42 cents (I was only accepting incoming connections for a few hours).  It's on a very good network too, so you should get good connectivity.
Post
Topic
Board Development & Technical Discussion
Re: Blockchain Download Time
by
Charles Sweeney
on 20/03/2018, 09:37:46 UTC
Those that want fast confirmation of their transaction therefore increase their transaction fee to get into the next block.

Do the mining programs automatically select the transactions with the highest fees?  Been looking at BFGMiner but didn't notice a configuration for this or any mention of it in the README.

The transactions with lower fees are then left waiting a VERY long time to confirm.  Eventually, people that aren't willing to wait abandon the Bitcoin blockchain and use some other method for making their transactions.  Those other methods may or may not Bitcoin off-chain transactions (such as Lightning Network or Account based services like Coinbase)

Just been reading some very worrying articles about very high bitcoin transaction fees:

http://uk.businessinsider.com/bitcoin-payment-mining-fees-hit-new-high-2017-12
m/2017/12/19/big-transactions-fees-are-a-problem-for-bitcoin.html]https://www.c[Suspicious link removed]m/2017/12/19/big-transactions-fees-are-a-problem-for-bitcoin.html

...meaning no-one is going to use it to buy coffee or pizza.  One of the articles mentions Lightning Network with instant transactions and low fees, which to me looks very interesting.
Post
Topic
Board Development & Technical Discussion
Re: Blockchain Download Time
by
Charles Sweeney
on 19/03/2018, 18:56:29 UTC
Thanks all.  Good info!  I would like to keep a full node to help the network.  Just tinkering for now!
Post
Topic
Board Development & Technical Discussion
Re: Blockchain Download Time
by
Charles Sweeney
on 18/03/2018, 23:08:17 UTC
Thanks all for the very helpful replies.  I noticed the prune option but I wasn't sure about it (being very new to this).  My understanding was that you needed the full blockchain for maximum integrity.  What if everyone pruned their blockchain, would that mean there wouldn't be any full copies of the blockchain?!  Wouldn't that be a problem?

Yes, Jet Cash, I remember seeing an option to state the data directory.  That would be very handy to have the .bitcoin directory on a SSD.  Initially I was thinking you would just need the blocks and the chainstate data but it makes sense, and is a lot easier, simply to copy the entire directory.
Post
Topic
Board Development & Technical Discussion
Re: Blockchain Download Time
by
Charles Sweeney
on 18/03/2018, 22:54:31 UTC
The size of the blockchain has nothing to do with Bitcoin adoption. Blockchain's size increases with every block added to the blockchain, which usually happens every ten minutes. And each block being of 1 MB in size would increase the size of the blockchain by 1 MB.

Right.  I'm very new to this.  I wasn't thinking about the size of the chain so much as the size of the blocks.  What if there's tens of thousands, or hundreds of thousands of new transactions per block (as there will be when everyone starts using bitcoin on a regular basis!).  All those transactions in one block of 1MB?
Post
Topic
Board Development & Technical Discussion
Re: Blockchain Download Time
by
Charles Sweeney
on 18/03/2018, 11:24:39 UTC
Anticipating continued blockchain growth, the dedicated PC I build uses a 1 TB SSD, so hopefully I still can get a couple years service out of it before needing to upgrade again.

Will be interesting to see how big it gets, with the increased popularity of bitcoin.

Wondering if the data files can simply be copied to another disk?  Would save downloading and processing everything again when it comes time to upgrade your system.
Post
Topic
Board Development & Technical Discussion
Blockchain Download Time
by
Charles Sweeney
on 17/03/2018, 17:28:19 UTC
March 17th 2018.  Just for reference.

Just downloaded the entire blockchain.

Number of blocks: 513,962

Download time: 2 days 3 hours

Size on disk: 172GB

Used an Amazon Web Services EC2 t2.small server instance, running Ubuntu. 2GB memory.  Was struggling a bit, hence the download time.  CPU running at 100% constantly.  Memory was fine but I think more would be needed if running a faster processor.  Not sure of the CPU specs on the t2.small instance but it's one of their lowest performing (and cheapest) instances.
Post
Topic
Board Mining software (miners)
Re: BFGMiner 5.5.0: CPU/GPU/FPGA/ASIC mining software, GBT+Stratum, RPC, Linux/Win64
by
Charles Sweeney
on 13/03/2018, 16:56:13 UTC
Getting a problem installing this.  States in the readme to run ./configure but I don't have a file by that name.

Fixed it.  The "configure" file didn't exist because autogen.sh encountered errors.  I needed to install a couple of packages so that autogen.sh would run properly.  When it did, it created the "configure" file.

Needed to install pkg-config and libgcrypt20-dev, like so:

Code:
apt-get install -y pkg-config libgcrypt20-dev

I had previously installed all the recommended packages/dependencies which included pkg-config but not libgcrypt20-dev.




Post
Topic
Board Mining software (miners)
Re: BFGMiner 5.5.0: CPU/GPU/FPGA/ASIC mining software, GBT+Stratum, RPC, Linux/Win64
by
Charles Sweeney
on 13/03/2018, 14:13:02 UTC
Getting a problem installing this.  States in the readme to run ./configure but I don't have a file by that name.  I do have configure.ac so tried running that, and got this:

Code:
./configure.ac: line 1: dnl: command not found
./configure.ac: line 2: dnl: command not found
./configure.ac: line 3: dnl: command not found
./configure.ac: line 4: dnl: command not found
./configure.ac: line 5: dnl: command not found
./configure.ac: line 6: dnl: command not found
./configure.ac: line 7: dnl: command not found
./configure.ac: line 8: dnl: command not found
./configure.ac: line 9: dnl: command not found
./configure.ac: line 9: you: command not found
./configure.ac: line 10: dnl: command not found
./configure.ac: line 11: syntax error near unexpected token `('
./configure.ac: line 11: `dnl * Software Foundation; either version 3 of the License, or (at your option)'