Bitcoin Forum
November 18, 2024, 06:04:46 AM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoin Core 0.12 and Armory 0.94. Blown away. Is this true?!!  (Read 1637 times)
pf (OP)
Full Member
***
Offline Offline

Activity: 176
Merit: 105


View Profile
April 04, 2016, 07:16:53 PM
 #1

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.)
Carlton Banks
Legendary
*
Offline Offline

Activity: 3430
Merit: 3080



View Profile
April 04, 2016, 07:47:58 PM
 #2

Strongly advise not to attempt Bitcoin pruning mode with Armory.

Vires in numeris
achow101
Staff
Legendary
*
Offline Offline

Activity: 3542
Merit: 6886


Just writing some code


View Profile WWW
April 04, 2016, 07:54:03 PM
 #3

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.

pf (OP)
Full Member
***
Offline Offline

Activity: 176
Merit: 105


View Profile
April 04, 2016, 08:16:26 PM
 #4

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)?
goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3766
Merit: 1364

Armory Developer


View Profile
April 04, 2016, 08:29:58 PM
 #5

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.

leemar
Full Member
***
Offline Offline

Activity: 193
Merit: 100


View Profile
April 05, 2016, 08:42:05 AM
 #6

I am a bit confused by this thread, It makes it sound like 0.94 requires the whole blockchain still i.e. 60gb.
goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3766
Merit: 1364

Armory Developer


View Profile
April 05, 2016, 10:35:04 AM
 #7

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.

leemar
Full Member
***
Offline Offline

Activity: 193
Merit: 100


View Profile
April 05, 2016, 11:38:32 AM
 #8

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.
goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3766
Merit: 1364

Armory Developer


View Profile
April 05, 2016, 03:00:48 PM
 #9

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.

leemar
Full Member
***
Offline Offline

Activity: 193
Merit: 100


View Profile
April 05, 2016, 04:49:53 PM
 #10

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.
goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3766
Merit: 1364

Armory Developer


View Profile
April 05, 2016, 04:54:25 PM
 #11

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.

leemar
Full Member
***
Offline Offline

Activity: 193
Merit: 100


View Profile
April 05, 2016, 05:10:17 PM
 #12

That is a great help, I never understood the extent to which the application is independent of the underlying node.
RoadStress
Legendary
*
Offline Offline

Activity: 1904
Merit: 1007


View Profile
April 05, 2016, 10:15:14 PM
 #13

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!

belcher
Sr. Member
****
Offline Offline

Activity: 261
Merit: 523


View Profile
April 22, 2016, 11:25:43 AM
 #14

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.

1HZBd22eQLgbwxjwbCtSjhoPFWxQg8rBd9
JoinMarket - CoinJoin that people will actually use.
PGP fingerprint: 0A8B 038F 5E10 CC27 89BF CFFF EF73 4EA6 77F3 1129
goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3766
Merit: 1364

Armory Developer


View Profile
April 22, 2016, 12:18:11 PM
 #15

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.

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!