Bitcoin Forum
April 25, 2024, 07:34:55 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2] 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 »  All
  Print  
Author Topic: BITCOIN CORE  (Read 7387 times)
Chikito
Legendary
*
Offline Offline

Activity: 2366
Merit: 2052



View Profile WWW
January 12, 2020, 12:07:21 PM
Merited by Husna QA (1)
 #21

Maaf saya belum selesai dalam menulis materinya, ini masih menjadi PR saya  Smiley
Oke, No problem.
Kalau di Mainnet tentu bisa digunakan untuk real transaksi, meskipun agan belum sepenuhnya mendownload blockchain di bitcoin core, transaksi tersebut tetap masuk jaringan blockchain,
thanks, Sudah saya coba pake Transaksi

Secara default file bitcoin.conf memang kosong,.
Yups, saya coba tambah config kosong di bitcoin.conf pake code no.8 point c di OP
Code:
addresstype=legacy
changetype=legacy
Akhirnya bisa bikin alamat Legacy menjadi default.



Nominal BTC akan terlihat di wallet (Bitcoin core) pada saat block dimana transaksi tersebut tercatat berhasil diunduh oleh Node.

saya coba terima bitcoin ke alamat wallet yang di core 3HSo4WAuYBhmoHycsjfwxo5LS3ERaHCiKm, memang tidak terlihat transaksi apa pun di sana, karena baru download block yang taon 2009 kayaknya.



Tapi Karena sudah saya dumprivkey, maka saya import wallet core ke electrum untuk melihatnya.



dan bisa bertransaksi menggunakan electrum kirim bitcoin

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
Even if you use Bitcoin through Tor, the way transactions are handled by the network makes anonymity difficult to achieve. Do not expect your transactions to be anonymous unless you really know what you're doing.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714030495
Hero Member
*
Offline Offline

Posts: 1714030495

View Profile Personal Message (Offline)

Ignore
1714030495
Reply with quote  #2

1714030495
Report to moderator
1714030495
Hero Member
*
Offline Offline

Posts: 1714030495

View Profile Personal Message (Offline)

Ignore
1714030495
Reply with quote  #2

1714030495
Report to moderator
1714030495
Hero Member
*
Offline Offline

Posts: 1714030495

View Profile Personal Message (Offline)

Ignore
1714030495
Reply with quote  #2

1714030495
Report to moderator
Husna QA (OP)
Legendary
*
Offline Offline

Activity: 2254
Merit: 2853


#SWGT CERTIK Audited


View Profile WWW
January 12, 2020, 12:20:18 PM
Last edit: May 18, 2023, 07:05:31 AM by Husna QA
Merited by Chikito (1)
 #22

-snip- saya rasa PC cukup mampu untuk yang testnet aja. lumayan buat saya belajar dulu, soalnya bitcoin core masih pemula banget.
Barusan saya selesai download blockchan pada bitcoin core testnet (windows OS), berikut ini jumlah dan filesize dari block yang tadi sudah terdownload (sampai sekitar jam 07.11 pm WIB)







Chikito
Legendary
*
Offline Offline

Activity: 2366
Merit: 2052



View Profile WWW
January 13, 2020, 01:05:11 PM
 #23

berikut ini jumlah dan filesize dari block yang tadi sudah terdownload
Jumlah dan besaran block testnet dan mainnet beda padahal lahirnya sama, apa karena yang mining dan bertransaksi pakai blockchain tersebut sedikit?




RDSeed dan RDRand untuk digunakan generate address/privatekey?
Code:
2020-01-13T11:31:21Z Using RdSeed as additional entropy source
2020-01-13T11:31:21Z Using RdRand as an additional entropy source
Jadi kalau pakai CPU AMD kemungkinan error pas generate?.


.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
abhiseshakana
Legendary
*
Offline Offline

Activity: 2212
Merit: 2227


From Zero to 2 times Self-Made Legendary


View Profile WWW
January 13, 2020, 01:57:42 PM
 #24

Jumlah dan besaran block testnet dan mainnet beda padahal lahirnya sama, apa karena yang mining dan bertransaksi pakai blockchain tersebut sedikit?

Hal ini berkaitan dengan intensitas transaksi serta mekanisme PoW yang ada pada jaringan Testnet. Block time pada Tesnet rata-rata dikisaran 70 detik, sedangkan dalam kurun waktu tersebut jumlah transaksi baru yg masuk didalam jaringan testnet jumlahnya tidak sebanyak Mainnet. Sehingga pada waktu block (valid) baru berhasil dibuat jumlah transaksi yg ada didalamnya tidaklah banyak dan oleh karena itu ukuran blocknya pun juga tidak sebesar block-block mainnet.





.
.Duelbits.
█▀▀▀▀▀











█▄▄▄▄▄
TRY OUR
  NEW  UNIQUE
GAMES!
.
..DICE...
███████████████████████████████
███▀▀                     ▀▀███
███    ▄▄▄▄         ▄▄▄▄    ███
███   ██████       ██████   ███
███   ▀████▀       ▀████▀   ███
███                         ███
███                         ███
███                         ███
███   ▄████▄       ▄████▄   ███
███   ██████       ██████   ███
███    ▀▀▀▀         ▀▀▀▀    ███
███▄▄                     ▄▄███
███████████████████████████████
.
.MINES.
███████████████████████████████
████████████████████████▄▀▄████
██████████████▀▄▄▄▀█████▄▀▄████
████████████▀ █████▄▀████ █████
██████████      █████▄▀▀▄██████
███████▀          ▀████████████
█████▀              ▀██████████
█████                ██████████
████▌                ▐█████████
█████                ██████████
██████▄            ▄███████████
████████▄▄      ▄▄█████████████
███████████████████████████████
.
.PLINKO.
███████████████████████████████
█████████▀▀▀       ▀▀▀█████████
██████▀  ▄▄███ ███      ▀██████
█████  ▄▀▀                █████
████  ▀                    ████
███                         ███
███                         ███
███                         ███
████                       ████
█████                     █████
██████▄                 ▄██████
█████████▄▄▄       ▄▄▄█████████
███████████████████████████████
10,000x
MULTIPLIER
NEARLY UP TO
.50%. REWARDS
▀▀▀▀▀█











▄▄▄▄▄█
Husna QA (OP)
Legendary
*
Offline Offline

Activity: 2254
Merit: 2853


#SWGT CERTIK Audited


View Profile WWW
February 04, 2020, 01:07:28 PM
Last edit: October 16, 2023, 02:34:06 PM by Husna QA
Merited by LoyceV (4), Chikito (1), kawetsriyanto (1)
 #25

9. Private Key
kembali ke daftar isi
Mendapatkan Private key dari Bitcoin Core Wallet
Ada beberapa cara untuk bisa mendapatkan private key dari satu bitcoin address yang di create pada Bitcoin Core, bisa melalui Console pada Bitcoin Core, bisa juga menggunakan bitcoin-cli.exe dengan memanfaatkan Command Prompt (Windows OS).
Kali ini yang saya bahas melalui Console.

Sebelumnya pastikan anda sudah menyiapkan Bitcoin address yang akan dicari private key-nya (bahasan Bitcoin Address lihat pada bagian #8).
Saya ambil contoh address yang sudah dibuat sebelumnya:
Code:
bc1qdcqp5adk976p5xm0mfzux0uap6ema3lrh7ere0

Selanjutnya buka Console melalui menu Window





Harap perhatikan warning yang tertera pada Debug window (Console)

Untuk melihat informasi/perintah-perintah apa saja yang bisa anda gunakan untuk memanfaatkan console ini,
pada kolom input ketikkan help kemudian enter.



Jika sebelumnya anda sudah meng-encrypt wallet (lihat bagian #7) maka terlebih dulu buka akses ke wallet tersebut.
Code:
walletpassphrase "passphrase" timeout
isi passphrase dengan passphrase yang sudah dibuat ketika meng-encrypt wallet sebelumnya,
ganti timeout dengan angka (waktu dalam hitungan detik) yang akan anda gunakan untuk membuka enkripsi wallet ini.
Contoh yang saya gunakan (passphrase saya sensor):

Code:
walletpassphrase XXXXXXXXXXXXXX 1200

Jika passphrase yang dimasukkan valid maka hasilnya seperti ini (null):



Ok selanjutnya untuk mendapatkan private key
ketikkan dumpprivkey "address", lalu enter



Contoh:
Code:
dumpprivkey bc1qdcqp5adk976p5xm0mfzux0uap6ema3lrh7ere0

Maka akan ditampilkan Private key dari address tersebut


Private key yang ditandai tersebut saya sensor.

Import Private Key
Kali ini saya mencoba import private key dari Wallet bitcoin yang sebelumnya pernah saya buat di Electrum (lihat: ELECTRUM - BITCOIN WALLET)

Private key:
Code:
KxqHfKm7WESa2mwQnZrLRBKnvB5hGCcNnU7KctdHMnGJaq7vkwhw

Buka Console Bitcoin Core, pada kolom input ketikkan importprivkey "privkey"
Contoh:
Code:
importprivkey KxqHfKm7WESa2mwQnZrLRBKnvB5hGCcNnU7KctdHMnGJaq7vkwhw
Maka akan muncul window (Wallet) Rescanning.




Setelah proses Rescanning selesai, buka Window -> Receiving addresses untuk melihat Bitcoin Address yang berhasil di import private key nya tersebut.



Address tersebut cocok dengan address yang telah saya buat sebelumnya di Electrum:

Code:
bc1q6n82wed2uf5953m5xewvx4lrkchndnp5we07z6

Referensi:
#1
Getting your Private Keys from the Bitcoin Core wallet
Bitcoin-Core: Import private key from old watch only address into non spendable wallet


abhiseshakana
Legendary
*
Offline Offline

Activity: 2212
Merit: 2227


From Zero to 2 times Self-Made Legendary


View Profile WWW
February 04, 2020, 01:26:06 PM
Merited by LoyceV (2), ABCbits (1), Husna QA (1)
 #26

Import Private Key
Kali ini saya mencoba import private key dari Wallet bitcoin yang sebelumnya pernah saya buat di Electrum (lihat: ELECTRUM - BITCOIN WALLET)

Jika ingin mengimport lebih dari 1 Private Key, maka selain Private Key terakhir lebih baik mengabaikan proses rescan terlebih dahulu untuk menghemat waktu pemrosesan.

Contoh : ingin mengimport 3 Private Key

- Untuk Private key pertama dan kedua menggunakan argument
Code:
importprivkey "private_key_1" "label" false
Code:
importprivkey "private_key_2" "label" false

- Untuk Private Key ke-3 menggunakan argument
Code:
importprivkey "private_key_3" "label"

Maka proses rescanning Blockchain baru akan berjalan setelah Private key terakhir (Ke-3) diimport

*argument "label" sifatnya optional

.
.Duelbits.
█▀▀▀▀▀











█▄▄▄▄▄
TRY OUR
  NEW  UNIQUE
GAMES!
.
..DICE...
███████████████████████████████
███▀▀                     ▀▀███
███    ▄▄▄▄         ▄▄▄▄    ███
███   ██████       ██████   ███
███   ▀████▀       ▀████▀   ███
███                         ███
███                         ███
███                         ███
███   ▄████▄       ▄████▄   ███
███   ██████       ██████   ███
███    ▀▀▀▀         ▀▀▀▀    ███
███▄▄                     ▄▄███
███████████████████████████████
.
.MINES.
███████████████████████████████
████████████████████████▄▀▄████
██████████████▀▄▄▄▀█████▄▀▄████
████████████▀ █████▄▀████ █████
██████████      █████▄▀▀▄██████
███████▀          ▀████████████
█████▀              ▀██████████
█████                ██████████
████▌                ▐█████████
█████                ██████████
██████▄            ▄███████████
████████▄▄      ▄▄█████████████
███████████████████████████████
.
.PLINKO.
███████████████████████████████
█████████▀▀▀       ▀▀▀█████████
██████▀  ▄▄███ ███      ▀██████
█████  ▄▀▀                █████
████  ▀                    ████
███                         ███
███                         ███
███                         ███
████                       ████
█████                     █████
██████▄                 ▄██████
█████████▄▄▄       ▄▄▄█████████
███████████████████████████████
10,000x
MULTIPLIER
NEARLY UP TO
.50%. REWARDS
▀▀▀▀▀█











▄▄▄▄▄█
Husna QA (OP)
Legendary
*
Offline Offline

Activity: 2254
Merit: 2853


#SWGT CERTIK Audited


View Profile WWW
February 04, 2020, 02:22:47 PM
 #27

Jika ingin mengimport lebih dari 1 Private Key, maka selain Private Key terakhir lebih baik mengabaikan proses rescan terlebih dahulu untuk menghemat waktu pemrosesan.
Terima kasih atas tambahannya, tadi untuk tes sekali rescan saja lebih kurang 1,5-2 jam waktu yang dibutuhkan untuk memprosesnya di laptop saya.

*argument "label" sifatnya optional
Yup, Label sifat nya untuk lebih memudahkan pencarian nama/peruntukan setiap address bitcoin, bisa juga di edit belakangan (Edit Label). Lihat bagian #8.

Chikito
Legendary
*
Offline Offline

Activity: 2366
Merit: 2052



View Profile WWW
February 07, 2020, 12:01:26 AM
Merited by ABCbits (1), Husna QA (1), abhiseshakana (1)
 #28

9. Private Key
Kalau mau ekspor semua private key di Bitcoin core, cukup pakai kode ini:
Code:
dumpwallet C:/privatekey.txt
C:/privatekey.txt bisa diubah directory, terserah mau disimpan di D menjadi D:/privatekey.txt
dan privatekey.txt juga bisa diubah nama file, terserah anda menjadi, contoh: kuncirahasia.txt
Code:
dumpwallet D:/kuncirahasia.txt

Ini apa yang ada dalam .txt
Code:
# Wallet dump created by Bitcoin v0.19.0.1
# * Created on 2020-02-07T07:25:22Z
# * Best block at time of backup was 0 (000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f),
#   mined on 2009-01-03T18:15:05Z

# extended private masterkey: xprv9s21ZrQH143K33wNjfqQc8CkihauS7gdnBgN5dC41o9hRsjwyS7anfovkZ7Pbft5Wjd1A4onBBTB1S9KPG2yE3wnkhMc368ieKRyyMzmLpn

KyHnw87LeFoyBmTLHoH5p4G6zcEH7GyzRRLHzvKJ71WT2fPrGXMD 2020-02-07T07:20:32Z reserve=1 # addr=36TTvof2GrDr3rDZa8KmRvexHPT4857rcd hdkeypath=m/0'/0'/274'
KzUNYuhkzysRVLjMPc5wfXj9CdvU3GG3Je5QEfFaVjWyvhQkcU3m 2020-02-07T07:20:32Z reserve=1 # addr=322qzcXNxEFPfBSt84FaNW9RrcP4CgpifZ hdkeypath=m/0'/0'/18'
.....
.....
00140e9310bf9dce2c39778906a4e4955919b5c82a9f 0 script=1 # addr=3QyzoqqYEfnWmu8puEre7tCzvo32trzwTH
00149d9cf6330e7cd296c44e6b766c136b27fb21d486 0 script=1 # addr=3QyzqtntvMkuWFXjmCE9VaWAuWxaczUh9T
0014fe1572488e3b36ebb0763278a8a3327c1d42da81 0 script=1 # addr=3R1AQMf36GW7VrBGdCJUEDeuQoZvXN4Gan

# End of dump

Saya coba, sekali dump bisa 4000-an alamat dan private key.

note: privatekey di atas hanya contoh, udah dipublish dan tidak ada balance, so jangan dipakai.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
Husna QA (OP)
Legendary
*
Offline Offline

Activity: 2254
Merit: 2853


#SWGT CERTIK Audited


View Profile WWW
February 07, 2020, 01:37:24 AM
Merited by ABCbits (1)
 #29

Kalau mau ekspor semua private key di Bitcoin core, cukup pakai kode ini:
Code:
dumpwallet C:/privatekey.txt
C:/privatekey.txt bisa diubah directory, terserah mau disimpan di D menjadi D:/privatekey.txt
dan privatekey.txt juga bisa diubah nama file, terserah anda menjadi, contoh: kuncirahasia.txt
Code:
dumpwallet D:/kuncirahasia.txt
Code:
-snip-
# extended private masterkey: xprv9s21ZrQH143K33wNjfqQc8CkihauS7gdnBgN5dC41o9hRsjwyS7anfovkZ7Pbft5Wjd1A4onBBTB1S9KPG2yE3wnkhMc368ieKRyyMzmLpn
-snip-
Harap diperhatikan juga untuk mem-backup wallet.dat ketika hendak melakukan dumpwallet dan mengimport semua address yang dihasilkannya ke wallet lain.
-snip-.
You won't be able to restore these imported addresses using the master private key (if you've exported it) or any old wallet.dat backups;
so make sure to make another backup after doing these steps.

Beberapa referensi tentang dumpprivkey & dumpwallet:
https://bitcoin.org/en/developer-reference#dumpprivkey
https://bitcoin.org/en/developer-reference#dumpwallet

BITCOIN4X
Legendary
*
Offline Offline

Activity: 1960
Merit: 1150



View Profile
February 24, 2020, 11:12:19 AM
 #30

Om ane ingin tanya sedikit tentang bagaimana caranya ane bisa mengembalikan data wallet pada bitcoin core jika ane hanya mem-backup wallet tanpa adanya privatekey. Beberapa hari lalu PC ane harus di install ulang karena masalah lelet dan keyboard yang rusak. Ane cuma mem-backup wallet pada bitcoin core karena ane cuma menggunakannya untuk sign message. Mohon bantuannya.

.
.DuelbitsSPORTS.
▄▄▄███████▄▄▄
▄▄█████████████████▄▄
▄██████████████████████▄
██████████████████████████
███████████████████████████
██████████████████████████████
██████████████████████████████
█████████████████████████████
███████████████████████████
█████████████████████████
▀████████████████████████
▀▀███████████████████
██████████████████████████████
██
██
██
██

██
██
██
██

██
██
██
████████▄▄▄▄██▄▄▄██
███▄█▀▄▄▀███▄█████
█████████████▀▀▀██
██▀ ▀██████████████████
███▄███████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
▀█████████████████████▀
▀▀███████████████▀▀
▀▀▀▀█▀▀▀▀
OFFICIAL EUROPEAN
BETTING PARTNER OF
ASTON VILLA FC
██
██
██
██

██
██
██
██

██
██
██
10%   CASHBACK   
          100%   MULTICHARGER   
Chikito
Legendary
*
Offline Offline

Activity: 2366
Merit: 2052



View Profile WWW
February 24, 2020, 12:09:19 PM
Merited by BITCOIN4X (1)
 #31

Ane cuma mem-backup wallet pada bitcoin core karena ane cuma menggunakannya untuk sign message. Mohon bantuannya.
Download lagi bitcoin core lalu paste wallet.dat di file lama mu ke download yang baru.

sekalian aja dump private keynya, caranya di https://bitcointalk.org/index.php?topic=5196950.msg53770601#msg53770601

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
abhiseshakana
Legendary
*
Offline Offline

Activity: 2212
Merit: 2227


From Zero to 2 times Self-Made Legendary


View Profile WWW
February 24, 2020, 01:38:17 PM
Merited by BITCOIN4X (1)
 #32

Ane cuma mem-backup wallet pada bitcoin core karena ane cuma menggunakannya untuk sign message. Mohon bantuannya.
Download lagi bitcoin core lalu paste wallet.dat di file lama mu ke download yang baru.

sekalian aja dump private keynya, caranya di https://bitcointalk.org/index.php?topic=5196950.msg53770601#msg53770601


Klo cuma hanya ingin mengembalikan data, cukup hanya dengan melakukan replace file "wallet.dat" baru dengan file "wallet.dat" lama (yang datanya ingin dikembalikan), dan tunggu sampai proses synchronizing selesai. Tetapi jika agan tidak sabar menunggu proses sinkronisasi dan ingin membuka address ke wallet lainnya (contoh: electrum), maka agan bisa meng-export private key-nya terlebih dahulu tanpa harus menunggu proses sinkronisasi selesai.

- Gunakan argument dumpprivkey jika agan ingin mengekspor private key secara satu persatu, atau
- Gunakan argument dumpwallet jika agan ingin mengekspor key dari keseluruhan address

* Saran saya sih mending agan tunggu sampai proses sinkronisasi (bitcoin core) selesai, karena jika dilihat dari segi keamanan dan privacy, Bitcoin Core (Full Node) tentunya lebih menjanjikan daripada lightweight wallet manapun.

.
.Duelbits.
█▀▀▀▀▀











█▄▄▄▄▄
TRY OUR
  NEW  UNIQUE
GAMES!
.
..DICE...
███████████████████████████████
███▀▀                     ▀▀███
███    ▄▄▄▄         ▄▄▄▄    ███
███   ██████       ██████   ███
███   ▀████▀       ▀████▀   ███
███                         ███
███                         ███
███                         ███
███   ▄████▄       ▄████▄   ███
███   ██████       ██████   ███
███    ▀▀▀▀         ▀▀▀▀    ███
███▄▄                     ▄▄███
███████████████████████████████
.
.MINES.
███████████████████████████████
████████████████████████▄▀▄████
██████████████▀▄▄▄▀█████▄▀▄████
████████████▀ █████▄▀████ █████
██████████      █████▄▀▀▄██████
███████▀          ▀████████████
█████▀              ▀██████████
█████                ██████████
████▌                ▐█████████
█████                ██████████
██████▄            ▄███████████
████████▄▄      ▄▄█████████████
███████████████████████████████
.
.PLINKO.
███████████████████████████████
█████████▀▀▀       ▀▀▀█████████
██████▀  ▄▄███ ███      ▀██████
█████  ▄▀▀                █████
████  ▀                    ████
███                         ███
███                         ███
███                         ███
████                       ████
█████                     █████
██████▄                 ▄██████
█████████▄▄▄       ▄▄▄█████████
███████████████████████████████
10,000x
MULTIPLIER
NEARLY UP TO
.50%. REWARDS
▀▀▀▀▀█











▄▄▄▄▄█
Husna QA (OP)
Legendary
*
Offline Offline

Activity: 2254
Merit: 2853


#SWGT CERTIK Audited


View Profile WWW
February 24, 2020, 01:43:15 PM
Merited by BITCOIN4X (1)
 #33

Om ane ingin tanya sedikit tentang bagaimana caranya ane bisa mengembalikan data wallet pada bitcoin core jika ane hanya mem-backup wallet tanpa adanya privatekey. Beberapa hari lalu PC ane harus di install ulang karena masalah lelet dan keyboard yang rusak. Ane cuma mem-backup wallet pada bitcoin core karena ane cuma menggunakannya untuk sign message. Mohon bantuannya.

Backup wallet berfungsi menyimpan data untuk semua public (Bitcoin address) & private keys (filenya ber-ekstensi .dat).
Setiap kali anda membuat address bitcoin baru ataupun mengirim bitcoin kepada orang lain, maka Bitcoin core akan menambahkan informasi baru ke file ***.dat
Me-restore Bitcoin wallet di Bitcoin Core
Install ulang Bitcoin Core, kemudian buka folder dimana agan menyimpan/download Blockchain.

Folder standarnya di Windows 7 --aktifkan show hidden file-- :  User/Administrator/AppData/Roaming/Bitcoin
di MacOS: ~/Library/Application Support/Bitcoin/ ; di Linux: ~/.bitcoin/

Pada folder tersebut akan ada file default : wallet.dat

Nah file wallet.dat tersebut di-replace dengan file wallet.dat dari hasil backup sebelumnya.

@BITCOIN4X, Maaf tadi baru lihat inbox messagenya di notifikasi email.

BITCOIN4X
Legendary
*
Offline Offline

Activity: 1960
Merit: 1150



View Profile
February 24, 2020, 03:20:50 PM
 #34

~snip
~snip
~snip
Untuk om dromi, om abhi dan om husna ane ucapkan terimakasih atas jawaban yang dilengkapi dengan langkah-langkahnya. Untungnya ane sempat menyimpan file.dat setelah mem-backup wallet sehingga ane masih dapat me-replace file.dat baru dengan yang lama.
Dengan kata lain pengalaman ini akan menjadi pengetahuan baru untuk ane dan juga dapat berguna bagi yang lainnya.

Especially om husna, tidak apa-apa karena ane telah mendapatkan jawaban disini dengan lengkap. Cheesy

.
.DuelbitsSPORTS.
▄▄▄███████▄▄▄
▄▄█████████████████▄▄
▄██████████████████████▄
██████████████████████████
███████████████████████████
██████████████████████████████
██████████████████████████████
█████████████████████████████
███████████████████████████
█████████████████████████
▀████████████████████████
▀▀███████████████████
██████████████████████████████
██
██
██
██

██
██
██
██

██
██
██
████████▄▄▄▄██▄▄▄██
███▄█▀▄▄▀███▄█████
█████████████▀▀▀██
██▀ ▀██████████████████
███▄███████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
▀█████████████████████▀
▀▀███████████████▀▀
▀▀▀▀█▀▀▀▀
OFFICIAL EUROPEAN
BETTING PARTNER OF
ASTON VILLA FC
██
██
██
██

██
██
██
██

██
██
██
10%   CASHBACK   
          100%   MULTICHARGER   
Husna QA (OP)
Legendary
*
Offline Offline

Activity: 2254
Merit: 2853


#SWGT CERTIK Audited


View Profile WWW
March 02, 2020, 04:26:36 AM
Last edit: October 16, 2023, 02:41:32 PM by Husna QA
 #35

10. Sign & Verify Message
kembali ke daftar isi
Ada beberapa cara ketika ingin melakukan Sign & Verify Message di Bitcoin Core, diantaranya:

1. Menggunakan Console

signmessage "address" "message"

Sign a message with the private key of an address
Requires wallet passphrase to be set with walletpassphrase call.

Arguments:
1. address    (string, required) The bitcoin address to use for the private key.
2. message   (string, required) The message to create a signature of.

Result:
"signature"   (string) The signature of the message encoded in base 64
Contoh:
Buka terlebih dulu akses ke wallet jika sebelumnya sudah di encrypt.

Code:
walletpassphrase "passphrase" timeout
Code:
walletpassphrase XXXXXXXXXXXXXX 1200

Membuat signature:

Code:
signmessage "address" "message"
Code:
signmessage "1AQQYgbakst66YGr3jbQcdeXr9mCRYupiT" "Test membuat sign message di Bitcoin Core - Husna QA"

Maka akan dimunculkan signature dari pesan tersebut:
Code:
H9YEfiCbWkGgBEiX71sAzaxlD3+eBPqmzUkoC0V79A+XU0PVHeDRhadfwgXPN03ekJykB+H9/fLz1ssFLESH/f4=

Mem-verify signature:

Code:
verifymessage "address" "signature" "message"
Code:
verifymessage "1AQQYgbakst66YGr3jbQcdeXr9mCRYupiT" "H9YEfiCbWkGgBEiX71sAzaxlD3+eBPqmzUkoC0V79A+XU0PVHeDRhadfwgXPN03ekJykB+H9/fLz1ssFLESH/f4=" "Test membuat sign message di Bitcoin Core - Husna QA"

Jika address bitcoin, signature dan message tersebut valid, maka akan muncul tulisan:
Code:
true

Berikut screenshot sign message dan verify message pada console tersebut:



2. Menggunakan File Menu -> Sign message... dan  Verify message...

Membuat signature:

- Pilih menu File -> Sign message...  maka akan dimunculkan jendela Signatures - Sign / Verify a Message tab "Sign Message"
- Pada kotak isian baris pertama silahkan masukkan address bitcoin.
- Pada kotak isian baris kedua silahkan masukkan message yang akan dibuat.
- Kemudian klik tombol Sign Message.
- Masukkan passphrase untuk unlock wallet,
- Hasil signature akan dimunculkan pada baris ketiga.

Contoh:



Mem-verify signature:

- Pilih menu File -> Verify message...  maka akan dimunculkan jendela Signatures - Sign / Verify a Message tab "Verify Message"
- Pada kotak isian baris pertama silahkan masukkan address bitcoin.
- Pada kotak isian baris kedua silahkan masukkan message yang telah dibuat.
- Pada kotak isian baris ketiga silahkan masukkan signature dari message
- Klik tombol Verify Message
- Jika address bitcoin, message dan signature tersebut valid, maka hasilnya seperti contoh berikut:



Note:
Sampai saat ini sign message dengan menggunakan Segwit Address (dari sejak pertama kali SegWit diperkenalkan) tidak bisa dilakukan di Bitcoin Core:
https://github.com/bitcoin/bitcoin/issues/10542

Terima kasih @achow101 atas informasi link-nya.

Referensi:
https://bitcoincore.org/en/doc/0.16.1/rpc/wallet/signmessage/
https://github.com/bitcoin/bitcoin/issues/10542
https://bitcointalk.org/index.php?topic=990345


Chikito
Legendary
*
Offline Offline

Activity: 2366
Merit: 2052



View Profile WWW
March 04, 2020, 11:27:13 AM
 #36

Sampai saat ini sign message dengan menggunakan Segwit Address (dari sejak pertama kali SegWit diperkenalkan) tidak bisa dilakukan di Bitcoin Core:
Jadi penasaran, lalu saya mencoba untuk verify message ternyata juga tidak bisa.
Code:
The entered address does not refer to be key....

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
abhiseshakana
Legendary
*
Offline Offline

Activity: 2212
Merit: 2227


From Zero to 2 times Self-Made Legendary


View Profile WWW
March 04, 2020, 12:23:09 PM
 #37

Jadi penasaran, lalu saya mencoba untuk verify message ternyata juga tidak bisa.

Karena pada dasarnya proses Sign/verify message (Bitcoin Core) tidak dilakukan oleh address, melainkan oleh Public/Private key Pairs yang dipetakan oleh address tersebut (Private Key >> Public Key >> P2PKH Address). Sedangkan untuk P2SH address hanya dipetakan ke sebuah script yang tidak mengungkap apapun selain hash dari script itu sendiri.

Jadi dengan kata lain P2SH address tidak mengungkap public/private key pairs sehingga tidak bisa melakukan proses sign/verify message, karena untuk bisa melakukan sign message dibutuhkan sebuah private key dan pada saat melakukan verify message diperlukan sebuah public key yg terkait dengan private key tersebut.

.
.Duelbits.
█▀▀▀▀▀











█▄▄▄▄▄
TRY OUR
  NEW  UNIQUE
GAMES!
.
..DICE...
███████████████████████████████
███▀▀                     ▀▀███
███    ▄▄▄▄         ▄▄▄▄    ███
███   ██████       ██████   ███
███   ▀████▀       ▀████▀   ███
███                         ███
███                         ███
███                         ███
███   ▄████▄       ▄████▄   ███
███   ██████       ██████   ███
███    ▀▀▀▀         ▀▀▀▀    ███
███▄▄                     ▄▄███
███████████████████████████████
.
.MINES.
███████████████████████████████
████████████████████████▄▀▄████
██████████████▀▄▄▄▀█████▄▀▄████
████████████▀ █████▄▀████ █████
██████████      █████▄▀▀▄██████
███████▀          ▀████████████
█████▀              ▀██████████
█████                ██████████
████▌                ▐█████████
█████                ██████████
██████▄            ▄███████████
████████▄▄      ▄▄█████████████
███████████████████████████████
.
.PLINKO.
███████████████████████████████
█████████▀▀▀       ▀▀▀█████████
██████▀  ▄▄███ ███      ▀██████
█████  ▄▀▀                █████
████  ▀                    ████
███                         ███
███                         ███
███                         ███
████                       ████
█████                     █████
██████▄                 ▄██████
█████████▄▄▄       ▄▄▄█████████
███████████████████████████████
10,000x
MULTIPLIER
NEARLY UP TO
.50%. REWARDS
▀▀▀▀▀█











▄▄▄▄▄█
Husna QA (OP)
Legendary
*
Offline Offline

Activity: 2254
Merit: 2853


#SWGT CERTIK Audited


View Profile WWW
March 04, 2020, 01:20:17 PM
 #38

Jadi penasaran, lalu saya mencoba untuk verify message ternyata juga tidak bisa.
-snip-
Yup, saat pertama kali mau tes sign message melalui console ataupun melalui file menu, saya mencoba terlebih dulu dengan SegWit Address baik yang Bech32 ataupun P2SH keduanya tetap tidak bisa, dan ketika menggunakan Legacy address baru berhasil.

-snip-
Terima kasih sudah bantu menjelaskan.
Untuk teman-teman lainnya yang ingin mendalami lebih rinci/teknis tentang hal ini bisa merujuk pada link diskusi di github yang saya cantumkan sebelumnya.

The address is a p2sh address, it doesn't have an associated public or private key to sign and verify messages with.

Chikito
Legendary
*
Offline Offline

Activity: 2366
Merit: 2052



View Profile WWW
March 07, 2020, 09:31:25 AM
Merited by ABCbits (1), Husna QA (1)
 #39

Saya memfollow twitter luke dash jr. - Bitcoin core untuk linux ubuntu - ppa update bitcoin BTC core versi 0.19.1 [1]

Quote
PPA description

Stable Channel of Bitcoin Core for Ubuntu.

Includes packages: bitcoin-qt, bitcoind, and bitcoin-tx

(To get bitcoin-cli, install bitcoind)

Quote
Adding this PPA to your system

You can update your system with unsupported packages from this untrusted PPA by adding ppa:luke-jr/bitcoincore to your system's Software Sources. (Read about installing)

sudo add-apt-repository ppa:luke-jr/bitcoincore
sudo apt-get update
[2]

Quote
PPA (“Personal Package Archive”) adalah penyedia repositori buatan pihak ketiga di Launchpad yang dapat anda gunakan untuk menginstal (atau upgrade) paket yang tidak tersedia dalam repository Ubuntu resmi.
[3]

[1]. https://twitter.com/LukeDashjr/status/1235685625531191296
[2]. https://launchpad.net/~luke-jr/+archive/ubuntu/bitcoincore
[3]. https://walidumar.wordpress.com/2012/09/20/yuk-kenalan-dengan-si-ppa-personal-package-archive/

Note: Sekedar untuk tambahan informasi bitcoin core pengguna linux ubuntu
       

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
Chikito
Legendary
*
Offline Offline

Activity: 2366
Merit: 2052



View Profile WWW
March 10, 2020, 12:39:34 AM
Merited by ABCbits (1)
 #40

Tampaknya Bitcoin core versi 0.19.1 telah di release. [1]

0.19.1 change log

Quote
Wallet

    #17643 Fix origfee return for bumpfee with feerate arg (instagibbs)
    #16963 Fix unique_ptr usage in boost::signals2 (promag)
    #17258 Fix issue with conflicted mempool tx in listsinceblock (adamjonas, mchrostowski)
    #17924 Bug: IsUsedDestination shouldn't use key id as script id for ScriptHash (instagibbs)
    #17621 IsUsedDestination should count any known single-key address (instagibbs)
    #17843 Reset reused transactions cache (fjahr)

RPC and other APIs

    #17687 cli: Fix fatal leveldb error when specifying -blockfilterindex=basic twice (brakmic)
    #17728 require second argument only for scantxoutset start action (achow101)
    #17445 zmq: Fix due to invalid argument and multiple notifiers (promag)
    #17524 psbt: handle unspendable psbts (achow101)
    #17156 psbt: check that various indexes and amounts are within bounds (achow101)

GUI

    #17427 Fix missing qRegisterMetaType for size_t (hebasto)
    #17695 disable File->CreateWallet during startup (fanquake)
    #17634 Fix comparison function signature (hebasto)
    #18062 Fix unintialized WalletView::progressDialog (promag)

Tests and QA

    #17416 Appveyor improvement - text file for vcpkg package list (sipsorcery)
    #17488 fix "bitcoind already running" warnings on macOS (fanquake)
    #17980 add missing #include to fix compiler errors (kallewoof)

Platform support

    #17736 Update msvc build for Visual Studio 2019 v16.4 (sipsorcery)
    #17364 Updates to appveyor config for VS2019 and Qt5.9.8 + msvc project fixes (sipsorcery)
    #17887 bug-fix macos: give free bytes to F_PREALLOCATE (kallewoof)

Miscellaneous

    #17897 init: Stop indexes on shutdown after ChainStateFlushed callback (jimpo)
    #17450 util: Add missing headers to util/fees.cpp (hebasto)
    #17654 Unbreak build with Boost 1.72.0 (jbeich)
    #17857 scripts: Fix symbol-check & security-check argument passing (fanquake)
    #17762 Log to net category for exceptions in ProcessMessages (laanwj)
    #18100 Update univalue subtree (MarcoFalke)
[1].
https://bitcoin.org/en/download
https://github.com/bitcoin/bitcoin/releases
https://github.com/bitcoin/bitcoin/blob/master/doc/release-notes/release-notes-0.19.1.md#0191-change-log

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
Pages: « 1 [2] 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 »  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!