Bitcoin Forum
July 01, 2024, 02:40:27 PM *
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 214 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.
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: 2464
Merit: 5755


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.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
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
Copper Member
Legendary
*
Offline Offline

Activity: 2324
Merit: 2906


#SWGT available on MEXC, Bitget, Lbank, Bitmart


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!