Bitcoin Forum
May 23, 2024, 07:50:56 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: Armory and Segwit2x  (Read 1073 times)
WiiD (OP)
Sr. Member
****
Offline Offline

Activity: 756
Merit: 250



View Profile
June 22, 2017, 01:06:41 AM
 #1

I have my BTCs in my offline Armory wallet.
I have Armory 0.93.3 because all newer versions get DB errors.


Segwit2x has already over 80% acceptance, so it is not far away from being activated.
Can I use my Armory 0.93.3 forever or will I come to a situation where I cannot send my Bitcoins with this version?
I am afraid that Segwit2x will come, I cannot send my coins with Armory 0.93.3 and all newer versions crashing all the time, so I cannot access my coins.
goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3668
Merit: 1347

Armory Developer


View Profile
June 22, 2017, 01:12:26 AM
 #2

You need at least 0.95 to be able to sync a SW aware chain.

achow101
Staff
Legendary
*
Offline Offline

Activity: 3402
Merit: 6642


Just writing some code


View Profile WWW
June 22, 2017, 01:14:42 AM
 #3

You will not be able to use 0.93.3 on with segwit2x. Segwit2x is a hard fork and the clients that support it will be introducing things that are incompatible with Armory 0.93.3, namely segwit. If you want to use Armory after segwit2x activates (or on the segwit2x chain if there is a chain split), you will need to upgrade to at least Armory 0.95.1.

WiiD (OP)
Sr. Member
****
Offline Offline

Activity: 756
Merit: 250



View Profile
June 22, 2017, 01:20:28 AM
 #4

How can I fix the DB error?
achow101
Staff
Legendary
*
Offline Offline

Activity: 3402
Merit: 6642


Just writing some code


View Profile WWW
June 22, 2017, 01:29:13 AM
 #5

How can I fix the DB error?
What is the error? Can you post the dbLog.txt file?

WiiD (OP)
Sr. Member
****
Offline Offline

Activity: 756
Merit: 250



View Profile
June 22, 2017, 01:46:39 AM
 #6

How can I fix the DB error?
What is the error? Can you post the dbLog.txt file?

I do not know where to find dbLog.txt

But a command window opens, directory: C:/Program Files /Armory/ArmoryDB.exe

It says in the last line:


ERROR - <../lmdb_wrapper.cpp:433> DB version mismatch. Use another dbdir!
achow101
Staff
Legendary
*
Offline Offline

Activity: 3402
Merit: 6642


Just writing some code


View Profile WWW
June 22, 2017, 02:11:46 AM
 #7

How can I fix the DB error?
What is the error? Can you post the dbLog.txt file?

I do not know where to find dbLog.txt

But a command window opens, directory: C:/Program Files /Armory/ArmoryDB.exe

It says in the last line:


ERROR - <../lmdb_wrapper.cpp:433> DB version mismatch. Use another dbdir!
That error is standard when upgrading from Armory 0.93.3 to anything more recent. Go to the Armory data directory (default on Windows is C:/Users/<your username>/AppData/Roaming/Armory). In that folder there should be a folder named databases. Either delete it or rename it. Then start Armory.

WiiD (OP)
Sr. Member
****
Offline Offline

Activity: 756
Merit: 250



View Profile
June 22, 2017, 02:21:40 AM
 #8

I did that, now the ArmoryDB.exe started again and showing these command lines:



<../DatabaseBuilder.cpp:268> parsed block file #38
<../DatabaseBuilder.cpp:268> parsed block file #40
<../DatabaseBuilder.cpp:268> parsed block file #42


and so on..
It stopped at

<../DatabaseBuilder.cpp:268> parsed block file #48
Aurik
Newbie
*
Offline Offline

Activity: 24
Merit: 3


View Profile
June 22, 2017, 10:59:35 PM
 #9

Just to get it right: If I use an RaPi as a coldwallet to sign tx, that are made with a watch-only hot-wallet on my online pc, just the online-version has to be up-to-date, right? The RaPi can stay 0.93 forever, correct? I guess i cant use the advantages of segwit transactions then, but thats not so important for long-term holdings.
achow101
Staff
Legendary
*
Offline Offline

Activity: 3402
Merit: 6642


Just writing some code


View Profile WWW
June 22, 2017, 11:27:18 PM
 #10

I did that, now the ArmoryDB.exe started again and showing these command lines:



<../DatabaseBuilder.cpp:268> parsed block file #38
<../DatabaseBuilder.cpp:268> parsed block file #40
<../DatabaseBuilder.cpp:268> parsed block file #42


and so on..
It stopped at

<../DatabaseBuilder.cpp:268> parsed block file #48
That's supposed to happen, but it should continue with some other stuff and with more block files.

Is Bitcoin Core running? Is it synced? What does ArmoryQt show?

Just to get it right: If I use an RaPi as a coldwallet to sign tx, that are made with a watch-only hot-wallet on my online pc, just the online-version has to be up-to-date, right? The RaPi can stay 0.93 forever, correct? I guess i cant use the advantages of segwit transactions then, but thats not so important for long-term holdings.
So long as the unsigned transaction format does not change and you don't use any of the new script types and signing requirements don't change, then yes, that is fine.

naska21
Hero Member
*****
Offline Offline

Activity: 1358
Merit: 635


View Profile
June 23, 2017, 08:40:41 AM
 #11

As I got it  on Aug 1st one more protocol will be activated i.e UASF (BIP148). It meens that the chain will split into two parts,  one of them supporting  SW2x and the other one supporting UASF. What should I expect in this case as the holder of btc  on addresses of  Armory 0.96?
goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3668
Merit: 1347

Armory Developer


View Profile
June 23, 2017, 09:19:59 AM
 #12

All pre fork coins are available on on both chains. All post fork transactions will most likely be replayed on the other chain unless you taint your coins. I had a thread from around the BU stunt on how to taint your coins during a fork, dig it up if you want detailed instructions.

You can operate on the branch you wish by running Armory against the relevant node.

-----------
As for how this mess will unfold, I haven't really paid attention to it. If the SegWit2x side is actually signaling BIP9 SW activation, then neither BIP148 nor 0.13.1+ Core nodes will fork off come August first. They will fork later when the SW2x side tries to HF the block size however, whenever that is.

-----------
If the SW signaling portio of SW2x is different from BIP9 SW on purpose (they probably want to bake in the 2x HF in the signaling), legacy nodes won't be able to tell the difference for the SW activation part (basically they will never acknowledge SW was activated on the 2x chain), and there will be technically 3 chains:

1) Legacy
2) BIP148
3) SW2x.

Admittedly, we're not back 6 months ago when 40% of miners were not signaling for any proposal, so the legacy branch will die on the spot, leaving the 2 contenders. In this case, you have to be wary of wipeouts.

Basically, SW2x can't wipe out BIP148 because of BIP148's flag day, but if BIP148 catches up in hash rate to SW2x before the 2x HF, their chain will be wiped out.

This scenario also implies users would have to run the SW2x nodes. Considering were are less than a month away from the signaling and I as a wallet dev have no idea how they gonna signal, where and how they plan to maintain the code and who is dealing with this stuff, I'd say their communication is underwhelming and their time frame amateurish (to remain polite).

-----------
I got no idea how long these 2 chains would coexists. The question isn't whether the BIP148 crowd will give up, that basically won't happen. Rather it's a matter of how long miners want to run with the 2x chain.

gangtraet
Full Member
***
Offline Offline

Activity: 159
Merit: 100


View Profile
June 23, 2017, 12:43:01 PM
 #13

I got no idea how long these 2 chains would coexists. The question isn't whether the BIP148 crowd will give up, that basically won't happen. Rather it's a matter of how long miners want to run with the 2x chain.

BIP148 requires that at least some miners support it, but I guess they have enough for a kind-of-viable chain, and hope to attract the rest for economical reasons.

\begin{rant}

What an amateurish mess.  The original argument for inventing SegWit instead of increasing the block size (and fix the malleability issue in the same hardfork) was that it risked creating a split chain.  Now the same people are actively trying to split off a new chain, and so is everybody else apparently.  And this will even create the worst kind of split, where one chain may eliminate the other at some random future time.  And the main priority of all parties seem to be to avoid that the other people's solution will gain support, since the other part of the debate is clearly "wanting to destroy bitcoin" / "just evil" / "controlled by bankers" / NSA / bug-eyed monsters (ok, maybe not).  No wonder some altcoins are gaining traction  Angry

\end{rant}

I advise keeping a low profile around 1. august.  Make sure you control your own keys, i.e. withdraw money from trading accounts and online wallets.  Do not plan to spend your bitcoins until the dust has settled.  And let us hope that only one chain survives, that will be simplest.  If more than one survives then with a bit of luck it will be a matter of replacing the backend (Bitcoin Core) to select which chain Armory is using (yes, I am probably being naive).

Serious off-topic question:  Post chain-split, if I send coins to myself and the transaction is relayed to all chains, then it is very likely that the transactions will confirm in different block numbers on the different chains.  Will that be enough to split the coins so they can be disentangled?
achow101
Staff
Legendary
*
Offline Offline

Activity: 3402
Merit: 6642


Just writing some code


View Profile WWW
June 23, 2017, 04:26:09 PM
 #14

As for how this mess will unfold, I haven't really paid attention to it. If the SegWit2x side is actually signaling BIP9 SW activation, then neither BIP148 nor 0.13.1+ Core nodes will fork off come August first. They will fork later when the SW2x side tries to HF the block size however, whenever that is.
Part of Segwit2x is BIP 91. BIP 91 specifies that once it activates (requires 80% signalling on Bit 4 for a period of 336 blocks), all blocks must signal for segwit on Bit 1 so that segwit activates via the current BIP 141 deployment. Then later they will fork to 8 MB block weight (2 MB legacy block size) after block 485218. Of course this can all only be found out by looking at their code and pull requests as they have no documentation to speak of, AFAIK.

Serious off-topic question:  Post chain-split, if I send coins to myself and the transaction is relayed to all chains, then it is very likely that the transactions will confirm in different block numbers on the different chains.  Will that be enough to split the coins so they can be disentangled?
No. The only way to avoid replay to have the transaction ids that create your outputs to be different. Transactions that confirm on both chains, regardless of block height, will still have the same txid and thus are still vulnerable to transaction replay.

goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3668
Merit: 1347

Armory Developer


View Profile
June 23, 2017, 05:11:06 PM
 #15

Serious off-topic question:  Post chain-split, if I send coins to myself and the transaction is relayed to all chains, then it is very likely that the transactions will confirm in different block numbers on the different chains.  Will that be enough to split the coins so they can be disentangled?

That's not enough on its own but the environment is in good condition for tainting. If a given tx has a different priority on the different sides of the fork, you can play that. Create a RBF flagged tx with a fee that's just right so that the probability it will mine on chain #1 is high, and low on chain #2.

Once it mines on #1 but still remains unconfirmed on #2, you have a window to double spend the tx on chain #2 (to another address), which a massive fee. If it mines on #2 (we're assuming one chain is fast while the other is slow cause of the split, so it may take a while to get that confirmation on #2), you have tainted coins on each side of the fork.

In general, whenever a fork results in effective different throughput on different branches, this is a low risk trick to taint your coins yourself. Otherwise you need to get your hands on outputs that descend from coinbase rewards of post split blocks, which aren't even available for the first 100 blocks.

Quote
Part of Segwit2x is BIP 91. BIP 91 specifies that once it activates (requires 80% signalling on Bit 4 for a period of 336 blocks), all blocks must signal for segwit on Bit 1 so that segwit activates via the current BIP 141 deployment.

Clowns... why even bother?

achow101
Staff
Legendary
*
Offline Offline

Activity: 3402
Merit: 6642


Just writing some code


View Profile WWW
June 23, 2017, 05:44:40 PM
 #16

Quote
Part of Segwit2x is BIP 91. BIP 91 specifies that once it activates (requires 80% signalling on Bit 4 for a period of 336 blocks), all blocks must signal for segwit on Bit 1 so that segwit activates via the current BIP 141 deployment.

Clowns... why even bother?
There's also Bitmain's UAHF too. That means that there are now a large number of possible chain forks.

goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3668
Merit: 1347

Armory Developer


View Profile
June 23, 2017, 05:56:23 PM
 #17

There's also Bitmain's UAHF too. That means that there are now a large number of possible chain forks.

I read that drivel. I assumed since they are signaling for 2x that this was the usual empty threat. Are they doubling down on this garbage?

achow101
Staff
Legendary
*
Offline Offline

Activity: 3402
Merit: 6642


Just writing some code


View Profile WWW
June 23, 2017, 06:08:47 PM
 #18

I read that drivel. I assumed since they are signaling for 2x that this was the usual empty threat. Are they doubling down on this garbage?
I have no idea. I just wanted to point out that there are many more forking possibilities at the end of July/beginning of August.

megashira1
Legendary
*
Offline Offline

Activity: 1146
Merit: 1000



View Profile
June 25, 2017, 10:18:54 PM
 #19

So im running 0.96. Everything should be fine come a possible hard fork?

Casimir1904
Full Member
***
Offline Offline

Activity: 209
Merit: 100


Radix-The Decentralized Finance Protocol


View Profile
June 26, 2017, 12:33:09 AM
 #20

There's also Bitmain's UAHF too. That means that there are now a large number of possible chain forks.

I read that drivel. I assumed since they are signaling for 2x that this was the usual empty threat. Are they doubling down on this garbage?

That was for the case UASF split would happen. Think thats already history with segwit2.x now.

Seems that segwit2.x will get 90%+ mining support so i wouldn't worry much about other possible chains.

Armory should not be affected at all. Just works on top of the node software you use.
I would not suggest using segwit from the day segwit2.x activates. Could be unsafe if other chains would exists. ( Same for UASF ).

Segwit2.x is a Softfork as well. 3 Months later they want to HF to 2MB. Till that Core/BU/Classic/many other noes should work also ( depending on the software with or without segwit ).

Its a mess right now but most is just FUD and panic creating. Minority chains are unlikely to survive with long confirmation times and huge backlogs ( replay ). Mining support drops fast as the income will drop.
The users able to "double spent" will drop their coins on the minority chains ( if they ever confirm on those chains ).

   R A D I X   ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬   The Decentralized Finance Protocol
█████████ GET TOKENS █████████    Facebook      Telegram      Twitter
The Radix DeFi Protocol is    SCALABLE SECURE COMMUNITY DRIVEN
Pages: [1] 2 »  All
  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!