Bitcoin Forum
May 08, 2024, 07:38:32 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoin Core / Bitcoin XT  (Read 1115 times)
Tirapon (OP)
Hero Member
*****
Offline Offline

Activity: 898
Merit: 1000



View Profile
August 15, 2015, 10:05:43 PM
 #1

I know Armory runs the Bitcoin client in the background, but what will happen with regards to bigger block sizes being implemented with Bitcoin XT? Will Armory users be able to choose which client they decide to run in the background?

I personally am in favour of larger block sizes.

Thanks.
TalkImg was created especially for hosting images on bitcointalk.org: try it next time you want to post an image
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715153912
Hero Member
*
Offline Offline

Posts: 1715153912

View Profile Personal Message (Offline)

Ignore
1715153912
Reply with quote  #2

1715153912
Report to moderator
1715153912
Hero Member
*
Offline Offline

Posts: 1715153912

View Profile Personal Message (Offline)

Ignore
1715153912
Reply with quote  #2

1715153912
Report to moderator
doug_armory
Sr. Member
****
Offline Offline

Activity: 255
Merit: 250

Senior Developer - Armory


View Profile WWW
August 15, 2015, 10:10:35 PM
 #2

As I understand things, Armory shouldn't have any problems if it encounters bigger blocks. If there are bugs, fixing them should be pretty trivial. Core/XT does the actual block validation. Armory then runs with the ball and is more concerned with the block's transactions, which aren't affected by the blocksize debate.

(If I'm wrong about any of this, I'm sure other developers will correct me. Smiley )

Senior Developer -  Armory Technologies, Inc.
Tirapon (OP)
Hero Member
*****
Offline Offline

Activity: 898
Merit: 1000



View Profile
August 15, 2015, 11:11:04 PM
 #3

Thanks, that's good to know.
unamis76
Legendary
*
Offline Offline

Activity: 1512
Merit: 1009


View Profile
August 15, 2015, 11:13:14 PM
 #4

Has Armory been tested with recent versions of BitcoinXT? I take it there are no issues, as XT is pretty much the same as Core, with added capabilities, but I was curious if this setup was already tested by developers and if there's any issue with it.
doug_armory
Sr. Member
****
Offline Offline

Activity: 255
Merit: 250

Senior Developer - Armory


View Profile WWW
August 15, 2015, 11:33:52 PM
 #5

I haven't tested it personally. I think a user tried it with a pre-0.11A version and said it worked fine.

Senior Developer -  Armory Technologies, Inc.
meono
Full Member
***
Offline Offline

Activity: 196
Merit: 100


View Profile
August 16, 2015, 02:02:32 AM
 #6

As I understand things, Armory shouldn't have any problems if it encounters bigger blocks. If there are bugs, fixing them should be pretty trivial. Core/XT does the actual block validation. Armory then runs with the ball and is more concerned with the block's transactions, which aren't affected by the blocksize debate.

(If I'm wrong about any of this, I'm sure other developers will correct me. Smiley )

are you saying Armory does not actually validate blocks? or can you elaborate this more pls? (i think you're saying we can switch bitcoin core with XT no problem as Armory just rely on them....)

But i still hope Armory team make a thread to clarify all this.

Thanks
doug_armory
Sr. Member
****
Offline Offline

Activity: 255
Merit: 250

Senior Developer - Armory


View Profile WWW
August 16, 2015, 02:41:34 AM
 #7

As I understand things, Armory shouldn't have any problems if it encounters bigger blocks. If there are bugs, fixing them should be pretty trivial. Core/XT does the actual block validation. Armory then runs with the ball and is more concerned with the block's transactions, which aren't affected by the blocksize debate.

(If I'm wrong about any of this, I'm sure other developers will correct me. Smiley )

are you saying Armory does not actually validate blocks? or can you elaborate this more pls? (i think you're saying we can switch bitcoin core with XT no problem as Armory just rely on them....)

But i still hope Armory team make a thread to clarify all this.

Thanks


Okay. Here's my understanding. Core already does a lot of heavy lifting. It validates blocks, does a lot of work to validate the transactions, etc. It wouldn't make sense for us to turn around and say, "Well, we need to do our own block verification scheme." Instead, we trust whatever comes out of Core, although we obviously need to have some processing logic in order to read the blocks and transactions, along with writing transactions.

In addition, when creating a Tx, we don't actually fire it onto the Bitcoin network ourselves. We form something that should be valid and feed it to Core, letting Core once again do the heavy lifting. If the Tx goes through, cool. If not, we try to give info to the user explaining what might have gone wrong.

Like I said, I could be wrong about some of the details. I'm pretty sure this is correct, though. It just doesn't make sense to, say, take several hours to download the blockchain (including time to verify the blocks) and then take several more re-validating everything. We trust that Core will provide us with good data. This has led to certain issues, like when the blockchain isn't complete. (Core apparently validates a block and then attempts to write it to a file. If the write fails, Core won't care. Obviously, this leads to weirdness with Armory.)

Senior Developer -  Armory Technologies, Inc.
Quickseller
Copper Member
Legendary
*
Offline Offline

Activity: 2870
Merit: 2300


View Profile
August 16, 2015, 04:43:50 AM
 #8

Armory relies entirely on the full node that it is connected to. It treats any information it receives as accurate.

This is why armory makes it very difficult to connect to a random node on the network, as it would be very easy to be tricked into thinking that you received a payment when you did not and you could be prevented from sending a transaction that is valid, and it would be difficult to tell that anything is wrong.
goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3668
Merit: 1347

Armory Developer


View Profile
August 16, 2015, 07:43:05 AM
 #9

Armory constructs merkle roots, computes block hashes and figures out the longest chain. It will also detect double spends on ZC transaction. Armory does not have an implementation of consensus rules, and thus cannot verify that transactions nor blocks respect them.

redwraith
Full Member
***
Offline Offline

Activity: 188
Merit: 102



View Profile
August 16, 2015, 06:09:27 PM
 #10

Pardon my ignorance on the matter, but how does one get Armory to use XT as the engine, rather than Core?
doug_armory
Sr. Member
****
Offline Offline

Activity: 255
Merit: 250

Senior Developer - Armory


View Profile WWW
August 16, 2015, 06:43:30 PM
 #11

AFAIK, XT hasn't changed the names of any of the binaries. You may need to use command line args like "satoshi-datadir" to point to particular directories, and maybe turn off auto-management and run bitcoind manually. (I don't remember offhand if you can tell Armory where to find bitcoind. I think you can.) That should be it.

Senior Developer -  Armory Technologies, Inc.
Tirapon (OP)
Hero Member
*****
Offline Offline

Activity: 898
Merit: 1000



View Profile
August 16, 2015, 08:24:39 PM
 #12

Thanks for the response, and thanks for the work you do. I have sent a donation to help fund Armory development.
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!