Bitcoin Forum
May 04, 2024, 03:17:45 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How to use bitcoin-core (cli) in legacy (non-segwit) mode?  (Read 210 times)
praveenbm5 (OP)
Newbie
*
Offline Offline

Activity: 11
Merit: 2


View Profile
December 09, 2019, 03:52:30 PM
 #1

Hello everybody,

Is there anyway I can configure bitcoin-core (cli) to use legacy address and transactions instead of newer segwit enabled transactions?

I am using v0.18.0.0

Thanks in advance.
1714792665
Hero Member
*
Offline Offline

Posts: 1714792665

View Profile Personal Message (Offline)

Ignore
1714792665
Reply with quote  #2

1714792665
Report to moderator
1714792665
Hero Member
*
Offline Offline

Posts: 1714792665

View Profile Personal Message (Offline)

Ignore
1714792665
Reply with quote  #2

1714792665
Report to moderator
The network tries to produce one block per 10 minutes. It does this by automatically adjusting how difficult it is to produce blocks.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714792665
Hero Member
*
Offline Offline

Posts: 1714792665

View Profile Personal Message (Offline)

Ignore
1714792665
Reply with quote  #2

1714792665
Report to moderator
1714792665
Hero Member
*
Offline Offline

Posts: 1714792665

View Profile Personal Message (Offline)

Ignore
1714792665
Reply with quote  #2

1714792665
Report to moderator
praveenbm5 (OP)
Newbie
*
Offline Offline

Activity: 11
Merit: 2


View Profile
December 09, 2019, 06:05:08 PM
 #2

I actually am trying to test some non-standard scripts and getting them to work in Segwit compliant way but using witness stack etc. has been painful as there are no tools readily available to sign and add signatures to the transaction.
nc50lc
Legendary
*
Offline Offline

Activity: 2408
Merit: 5583


Self-proclaimed Genius


View Profile
December 10, 2019, 03:54:45 AM
Merited by Jet Cash (2), ABCbits (1), Husna QA (1)
 #3

Shutdown Bitcoin Core and add this to your bitcoin.conf file from the default data directory (not the specified directory if you set it before):
Code:
addresstype=legacy
changetype=legacy
Then try to generate new address.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
praveenbm5 (OP)
Newbie
*
Offline Offline

Activity: 11
Merit: 2


View Profile
December 11, 2019, 03:40:34 PM
 #4

Thank you...

will try and let you know how it worked out.
Husna QA
Legendary
*
Offline Offline

Activity: 2268
Merit: 2861


#SWGT CERTIK Audited


View Profile WWW
December 12, 2019, 02:47:12 PM
Last edit: May 18, 2023, 07:09:37 AM by Husna QA
 #5

Shutdown Bitcoin Core and add this to your bitcoin.conf file from the default data directory (not the specified directory if you set it before):
Code:
addresstype=legacy
changetype=legacy
Then try to generate new address.
Thanks, it works on my Bitcoin Core.





-snip- will try and let you know how it worked out.
Save the original file settings if you want to return to default.



praveenbm5 (OP)
Newbie
*
Offline Offline

Activity: 11
Merit: 2


View Profile
December 15, 2019, 10:00:03 AM
 #6

Thank you so much for the help. It worked.
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!