Bitcoin Forum

Bitcoin => Armory => Topic started by: pf on April 04, 2016, 07:16:53 PM



Title: Bitcoin Core 0.12 and Armory 0.94. Blown away. Is this true?!!
Post by: pf on April 04, 2016, 07:16:53 PM
I just looked into Bitcoin again after a few months break (of course HODLing in the meantime). I can hardly believe my eyes.

Bitcoin Core 0.12 allows block pruning. Store only 550 MB instead of tens of gigabytes. I am blown away! It sounds almost too good to be true, so I must ask, is this pruning really a safe thing to do? I thought the whole point of running Bitcoin Core was to be fully secure with a full node and the whole blockchain - in order to remove risks of attacks associated with light wallets like Electrum and Breadwallet. Wouldn't pruning the blockchain introduce such risks (or other risks) back into the equation? If not, why not?

Armory 0.94: "DB shrinked from 60GB to sub 200MB, >10x initial setup and startup speed". Sweet. My question now is, will Armory 0.94 work just fine and perfectly securely (just as securely as previously) if Bitcoin Core is running pruned (see questions above)? (May God bless goatpig by the way. You're the kingpin.)


Title: Re: Bitcoin Core 0.12 and Armory 0.94. Blown away. Is this true?!!
Post by: Carlton Banks on April 04, 2016, 07:47:58 PM
Strongly advise not to attempt Bitcoin pruning mode with Armory.


Title: Re: Bitcoin Core 0.12 and Armory 0.94. Blown away. Is this true?!!
Post by: achow101 on April 04, 2016, 07:54:03 PM
Strongly advise not to attempt Bitcoin pruning mode with Armory.
Not just strongly advise, but you actually can't. Armory will not work with a pruned Bitcoin Core at all.


Title: Re: Bitcoin Core 0.12 and Armory 0.94. Blown away. Is this true?!!
Post by: pf on April 04, 2016, 08:16:26 PM
Strongly advise not to attempt Bitcoin pruning mode with Armory.
Not just strongly advise, but you actually can't. Armory will not work with a pruned Bitcoin Core at all.
Oh, that's a bit sad. Is this because Armory can't ever do this, or because such support hasn't yet been implemented (but will in the future)?


Title: Re: Bitcoin Core 0.12 and Armory 0.94. Blown away. Is this true?!!
Post by: goatpig on April 04, 2016, 08:29:58 PM
Oh, that's a bit sad. Is this because Armory can't ever do this, or because such support hasn't yet been implemented (but will in the future)?

There is no such support currently. It is fairly annoying to implement too as opposed to Armory uses currently. Lastly, you can't get the transaction history with a pruned Core. It adds to much complexity to get it to work, so I will not implement that.

I'm implementing litenode and blocks over P2P though, so setups that split the different elements of a full Armory blockchain processing stack will be reality instead.


Title: Re: Bitcoin Core 0.12 and Armory 0.94. Blown away. Is this true?!!
Post by: leemar on April 05, 2016, 08:42:05 AM
I am a bit confused by this thread, It makes it sound like 0.94 requires the whole blockchain still i.e. 60gb.


Title: Re: Bitcoin Core 0.12 and Armory 0.94. Blown away. Is this true?!!
Post by: goatpig on April 05, 2016, 10:35:04 AM
I am a bit confused by this thread, It makes it sound like 0.94 requires the whole blockchain still i.e. 60gb.

It does. It doesn't keep a full copy of the blockchain in its own DB anymore, so the total of Core + Armory went down from 120GB to 60GB.


Title: Re: Bitcoin Core 0.12 and Armory 0.94. Blown away. Is this true?!!
Post by: leemar on April 05, 2016, 11:38:32 AM
Thanks for the explanation Goatpig.

While I have your ear, do we have anything to worry about a potential Bitcoin Classic Fork?

BTW, all your efforts are much appreciated.


Title: Re: Bitcoin Core 0.12 and Armory 0.94. Blown away. Is this true?!!
Post by: goatpig on April 05, 2016, 03:00:48 PM
While I have your ear, do we have anything to worry about a potential Bitcoin Classic Fork?

I'm unsure which context you are asking this in. For what it's worth, Armory fully trusts the underlying network node, so you can run it against any implementation/fork as is as long as it respect the magic words and raw binary format Core uses.


Title: Re: Bitcoin Core 0.12 and Armory 0.94. Blown away. Is this true?!!
Post by: leemar on April 05, 2016, 04:49:53 PM
OK If i read that correctly, Core is central to integrity of Armory, hence whatever fork may or may not happen the core reference implementation is what will be used.


Title: Re: Bitcoin Core 0.12 and Armory 0.94. Blown away. Is this true?!!
Post by: goatpig on April 05, 2016, 04:54:25 PM
OK If i read that correctly, Core is central to integrity of Armory, hence whatever fork may or may not happen the core reference implementation is what will be used.

No it means you can run Armory on top of classic/xt/unlimited/whatever flavor of the month fork and it won't know the better.


Title: Re: Bitcoin Core 0.12 and Armory 0.94. Blown away. Is this true?!!
Post by: leemar on April 05, 2016, 05:10:17 PM
That is a great help, I never understood the extent to which the application is independent of the underlying node.


Title: Re: Bitcoin Core 0.12 and Armory 0.94. Blown away. Is this true?!!
Post by: RoadStress on April 05, 2016, 10:15:14 PM
Oh, that's a bit sad. Is this because Armory can't ever do this, or because such support hasn't yet been implemented (but will in the future)?

There is no such support currently. It is fairly annoying to implement too as opposed to Armory uses currently. Lastly, you can't get the transaction history with a pruned Core. It adds to much complexity to get it to work, so I will not implement that.

I'm implementing litenode and blocks over P2P though, so setups that split the different elements of a full Armory blockchain processing stack will be reality instead.

Thank you for your wise decision!


Title: Re: Bitcoin Core 0.12 and Armory 0.94. Blown away. Is this true?!!
Post by: belcher on April 22, 2016, 11:25:43 AM
I'm implementing litenode and blocks over P2P though, so setups that split the different elements of a full Armory blockchain processing stack will be reality instead.

Any idea how you'd get the 'estimatefee' functionality? It's not exposed over p2p, I've been wondering the best way to do it.


Title: Re: Bitcoin Core 0.12 and Armory 0.94. Blown away. Is this true?!!
Post by: goatpig on April 22, 2016, 12:18:11 PM
I'm implementing litenode and blocks over P2P though, so setups that split the different elements of a full Armory blockchain processing stack will be reality instead.

Any idea how you'd get the 'estimatefee' functionality? It's not exposed over p2p, I've been wondering the best way to do it.

Compute it yourself. Armory sees all tx, it can come up with the estimate from this data alone.