Bitcoin Forum
July 16, 2024, 01:45:26 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 [276] 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 ... 839 »
5501  Local / Altcoins (Monede Alternative) / Re: Cumpără acum! on: October 26, 2021, 09:31:20 AM
Ca si cum aleg sa se faca de ras singuri... E foarte complexa fiinta umana si cum gandeste...

Aici sunt de acord. Desi am scris o lista de variante care ar avea sens, nu stiu de fapt de ce fac asta. Iar oamenii "e" ciudati, nu poti sa stii ce motive au.
Eu am inceput sa fiu un pic paranoic si sa nu mai iau de bun tot ce citesc (sau, mai corect, sa iau de bun din ce in ce mai putine), ca nu stiu cine ce interes are in ceea ce zice/posteaza.


Am sa va mai trimit din cand in cand. Acum am postat mai mult pentru a intelege mai bine personajul Smiley Precum si analogia cu OP -- care, ce crezi?, n-a mai aparut deloc. S-o fi inhaitat cu Cojocaru Smiley

Nu te stressa. 2-3 colaje pe saptamana nu e prea mult. Raspunsul meu a fost la primul colaj, nu la al 2-lea. Pe al 2-lea inca nu mi-am facut timp/rabdare sa-l parcurg  Wink
5502  Bitcoin / Bitcoin Technical Support / Re: private key import says no funds on: October 26, 2021, 09:23:26 AM
Okay checked on blockchair and it doesn’t have funds indeed... thats weird. It shows that it all went to the wallet I sent 50$. Like 50$ to one address and the rest of my balance to other address.
Says “most likely it is the senders change address”

The change address should be another address in your initial (Jaxx) wallet, the wallet you sent the funds from. That's the address for which you have to find out the private key (in Jaxx) and import it to another wallet.
5503  Bitcoin / Bitcoin Technical Support / Re: private key import says no funds on: October 26, 2021, 09:01:26 AM
Trying to import my private key from jaxx wallet but it says it has no funds, even tho it has funds.
Had issue with jaxx where I sent a payment and it didn’t change my balance nor doesn’t show up in transaction history but it definitely arrived to my other wallet.
So now I can’t even send more because there’s wrong balance and idk what’s wrong tried everything

1. Did you check on a block explorer (blockchair.com, mempool.space) if the address for that private key actually had funds?
2. Where did you import the private key, into what wallet software?
3. Is the resulted address the same? For example in Electrum you may have to put in front of private key one of p2pkh: , p2wpkh-p2sh: , p2wpkh:
5504  Bitcoin / Bitcoin Discussion / Re: Bitcoin address linked to Bitcoin genesis address on: October 26, 2021, 08:47:52 AM
Adding all the public keys (point addition) together, we get:
0497071fac2b3f401adb86c7119261187b633120a71a4e34c45c931bf776329c9fb35d1415a2322 47363087dbd351f9021a41dfe39f4ceccc6431b2fda353dbb75

Yes, private key is just a big number. And yes, if you add up a bunch of numbers, you'll obtain a new number.
So you did nothing special there. Adding up some public keys to obtain a new number and see it as private key means absolutely nothing, no matter how hard you try to imply anything else.
5505  Local / Altcoins (Monede Alternative) / Re: Cumpără acum! on: October 26, 2021, 08:21:02 AM
Eu ma uit la grafice crypto din 2013 incoace. Pana prin 2017, am inteles fiecare analiza pe care o vedeam. Majoritatea erau legate de candles/patterns. Pe urma, au aparut specimene de tipul cercurilor fara sens din "analiza" lui Cojocaru. De multe ori ma intreb daca astia cumva trag cate o linie pe grafic dupa cum se scoala de dimineata, ca alta logica nu vad.

Au fost cativa - putini - care afisau grafice si explicatii si prin 2019-2020 cat de cat gandite si cu sens. Unul dintre ei a fost exstasie cu "Yet another analyst", doar ca a fost descoperit ca fiind parte dintr-o ferma de multi, a fost dat afara din campania de semnaturi si de atunci nu a mai intrat.


Pare un pic a fi gest de psihopat, no offense.

Nu neaparat. Din lista aia, cei care cred cu indarjire ceea ce scriu, mai devreme sau mai tarziu cedeaza (psihic). Cred ca cei longevivi au alt background:
* unii poate ca doar trolleaza de distractie (si pentru un fel de faima)
* unii poate ca incearca experimente sociale
* unii s-ar putea chiar sa fie platiti pentru asa ceva (campanii de FUD)

Deci nu as fi asa convins cu varianta/etichetarea de psihopati.


Daca mai vreti, va mai trimit.

E distractiv de citit, dar numai in cantitati limitate, cel putin din punctul meu de vedere. Poti sa pui din cand in cand "best of", dar nu exagera  Wink
5506  Bitcoin / Development & Technical Discussion / Re: Bitcoin + Electrum server + Block explorer under Windows (with WSL and Debian) on: October 26, 2021, 07:52:47 AM
I'm trying this on Ubuntu 18.04.3 LTS.

Do you have something older than Win 10? I'm asking because I see on the Windows store Ubuntu 20.04 LTS...
However, I'm not surprised, I had my own share of surprises with Ubuntu.

Unfortunately I am also far from good at Linux; this tutorial was made simply because I didn't find any reasonably good/complete one.
For your problems I have only one possible advice, if you didn't do this at start. Update your binaries:

Code:
sudo apt update
sudo apt dist-upgrade

Also, I'm a bit surprised. If you are not great at Linux, why didn't you try with Debian as I did?

Another note:
I do not know if that's normal, but if I want to install something with "sudo apt install xxx", this almost always fails with various errors.

I don't find it normal. But the environment variables may be different between your user and the super user (I hope that I didn't say something silly) and that could be one reason.
I'm not sure that it will help, but you can try to do sudo su, do the things without sudo in front and when you're done do exit.
5507  Other / Beginners & Help / Re: guessing private key fear on: October 25, 2021, 03:38:51 PM
The computer is fine to go online again after the drive has been removed and reformatted with a hammer.

That's why best way to handle this is with a live Linux USB stick and with no persistence.

Maybe somebody will convince the guys from Tails to add a copy of Ian Coleman BIP39 tool for this purpose  Grin


is it better to spread BTC on several addresses than leaving on one?

Not necessarily. But it can help you sleep better if you don't trust the numbers provided.
Something like the belief that "the lightning doesn't strike twice in the same spot"
5508  Other / Beginners & Help / Re: guessing private key fear on: October 25, 2021, 01:27:29 PM
@mocacinno already gave you the best answer, comparing the chance of having your private keys guessed with the chance for other ..."events".
I'll only add that if the funds are so big and this can make you sleep better, try to split them safely (!!) into a few more addresses (or even seeds). However, that would mean more things to take care of.
5509  Other / Beginners & Help / Re: Best possible advice to newbies on: October 25, 2021, 01:13:05 PM
What are these? Did you mistakenly post it or did you not know how to quote it appropriately?

He did copy/paste of a better formatted post which was including also some quotes.
I don't know where's the original post, it looks out of my reach, but it may very well be caused by a lot of areas I've ignored lately, but ninjastic.space has it.

@Shamm: if the post exists, it may have been better to link to it or quote it instead of copy/paste.
5510  Bitcoin / Development & Technical Discussion / Re: Bitcoin + Electrum server + Block explorer under Windows (with WSL and Debian) on: October 25, 2021, 12:56:49 PM
This script will fail if you run it from different location (location when you run nano to create the script). You should replace it with absolute path.

In my defense Smiley, if it's done as I expect, the .sh files are created in user home folder, the same folder the user gets in when he starts the Linux console, so he should not need to run that from somewhere else.
Also I tried to avoid having path containing the user name, but I've learned meanwhile about $HOME.

But you're right, users may do things in a way I don't expect  Cheesy
Fixed it. Thank you.


...And if I started this, I've also ensured the paths for the .sh files are exactly where I expect them to be. So double thanks  Wink
5511  Bitcoin / Hardware wallets / Re: Ledger nano X discount on: October 25, 2021, 12:38:40 PM
Now regarding Ledger nano limited memory, I was aware of that but when does that happen exactly? Do you need to install the Ethereum app in order to use Ledger with MetaMask for example? or you're basically not consuming any memory if using the HW with third-party software?!

Yes, you need to install for that indeed the (Ledger) Ethereum app onto your Nano S. And that stands for each separate coin, basically (including Bitcoin)
I didn't use Metamask, but in MEW, at least I remember I've set something extra (in the ledger) and all the tokens I wanted were also supported (since they are on ETH network), but I didn't use that for quite long time now.
5512  Other / Beginners & Help / Re: I want to know Random opinion about this on: October 25, 2021, 09:43:44 AM
And you tuesdaynight  what is your own opinion?
Did I do anything worong to you?
[...]
We are same I encounter that kind of situation wich other were humiliate you without valid reason.

I think that the language barrier may also be an important factor in getting the feeling like people want to humiliate you, although in some cases they don't actually do that.
5513  Other / Meta / Re: Moderator merging non-consecutive posts on: October 25, 2021, 09:37:42 AM
This looks like a time traveling case to me, and having conversation with someone can't create consecutive posts.

It's debatable, but it's not that bad, since the quotes did retain the other party's timestamp. And since the other party's replies are missing anyway, for the late reader it's not that big of a difference.
But again, it's debatable, since if you wouldn't have been "warning me" here, maybe I wouldn't have looked at the timestamps (although the red warning at the end of the post may somewhat suggest that).


I personally wouldn't pay much attention to it

I agree. Best advice.
5514  Other / Beginners & Help / Re: I want to know Random opinion about this on: October 25, 2021, 09:06:39 AM
frankly I'd like to hear random opinions regarding Shamm

There are few people who just humiliate others for not much of reason. It has happened to me too, they've usually landed in my ignore list.
And there are cases people may humiliate embarrass you because you think you know something, you even try to teach others and you actually know it wrong. It has happened to me too in the past.

Learn, grow thicker skin, learn even more, learn to use forum tools to help you - whether is search or ignore. As long as you'll keep improving, your rank will improve too.
On the other hand, grudge, stagnation (on the learning curve) and trying to rank up for the only reason to get into bounties/campaigns is a losing direction on long term.

Shamm is Full Member, although his writing is very bad. You, on the other hand, already have an advantage over him: your writing is concise, on the point, and in proper English. So, why are you worried?
5515  Bitcoin / Development & Technical Discussion / Re: Bitcoin + Electrum server + Block explorer under Windows (with WSL and Debian) on: October 25, 2021, 07:07:42 AM
In theory, Windows should cleanly save the linux subsystem to disk, and then reboot.
In reality, at times something locks and it's not done cleanly. And bad things can happen....

Thanks for the heads up. I try to always exit the consoles as gracefully as I can (CTRL-C then exit) before leaving windows do shutdown or restart. I hope that I'm on the safe side.

Good job, I hope you had fun.  You're on the right path, and you'll pick up tricks that work for you as you go along.  WSL is a great way for Windows users to immerse themselves in Linux.

Thank you for the kind words.

I prefer to run my node on dedicated hardware which I can leave running full time.  All my services are started on boot by systemd, so I just need to make sure the machine is powered on.  Unlike Linux on a physical or virtual machine, WSL doesn't have a system startup daemon like systemd.  It shouldn't be confused with a virtual machine, it's a virtual environment.

I may get there too, but for now I cannot: even the oldest working laptop in the house is being used by the kids for online classes and when I bought a RasPi for my needs I was not smart enough and bought a weak one (Zero W), from what I've read it's too weak for this job.
Maybe I'll get to buy in the near future a RasPi 4 and a 1-2 TB HDD (I find SSD overpriced for the job at this size), maybe I open a new topic on that, since Black Friday is pretty close.

It's bugging me that you are unable to install Ubuntu.

I was able to install Ubuntu. I had other problems there:
  • it didn't find for me librocksdb-dev=6.11.4-3
  • it failed in creating files/folders onto my Windows partition for electrs data

Of course, it was my first install and the problems may have been caused by something I didn't do right or I didn't do at all. Or my antivirus blocking something I forgot to unblock.
Maybe I was just luckier with Debian. However, this worked, I've noted down this and that (for the case I have to do "backtracking" until I get it right) and.. this is what I have.
If people want to try it out on any other distro, be my guest, really  Cheesy

I noticed that you used the Control Panel gui app to enable WSL, did also enable virtualization?

If you mean Hyper-V, no, it's not enabled and I don't intend to unless I really have to.
I've understood that it may interfere badly with VBox, which I still need now and then for my own tests (for simulating a fresh Windows or for running suspect apps) and my CPU is i7 so it has some in-built features, I think.

I've always installed WSL manually, you can find the installation instructions here (don't forget to start powershell as administrator):  https://docs.microsoft.com/en-us/windows/wsl/install-manual

Also, you can use powershell to interact with your WSL instances and, run them with alternate options.  For starters:
Code:
wsl --help

Although I work on Windows since Windows 95 (even 3.1, but that was for too short time), I have little experience with Power Shell. I find it too... Linux like and I didn't really need it; most of the time the normal command prompt or apps done by myself could do all I've needed.

Great instructions! This is something that many people can use well, thank you for your effort!
I will try it with your instructions, sobal my system runs correctly again.

Thank you! Please let me know if I've missed or didn't explain good enough something.
5516  Bitcoin / Development & Technical Discussion / Re: Bitcoin + Electrum server + Block explorer under Windows (with WSL and Debian) on: October 24, 2021, 11:11:05 AM
Fine tuning and other info.

Electrum

From this moment onwards, you'll be able to use Electrum with your own server.
Although I use Electrum on the same computer, I use the portable one (yeah, I'm lazy)
I've made a batch file which I run from now on instead of Electrum's exe and it looks like this:

Code: (run-electrum.bat)
electrum-4.1.5-portable.exe --oneserver --server 127.0.0.1:50001:t

Linux batch files and others

Open a new Debian console. This time we will create 2 batch files under Linux, because we are lazy. Just now we will make them directly under Linux:

Code:
nano $HOME/run_electrs.sh

And inside nano editor:

Code: (run_electrs.sh)
cd $HOME/electrs/target/release
./electrs

CTRL-X and Save

again

Code:
nano $HOME/run_explorer.sh
Code: (run_explorer.sh)
cd $HOME/btc-rpc-explorer
npm start

CTRL-X and Save

two more lines to execute:
Code:
chmod +x $HOME/run_electrs.sh
chmod +x $HOME/run_explorer.sh

Now, when you want to exit Electrs or BTC RPC Explorer, you press CTRL+C in those consoles, then exit.
When you want to run them, you start ./run_electrs.sh in one console then ./run_explorer.exe in another

Web page for block explorer

http://localhost:3002/exp/


Thank you

  • HCP for setting me on the right track
  • ETFbitcoin for hinting the correct block explorer
  • DaveF and NotATether for making me understand VirtualBox is not such a great idea
  • DireWolfM14 for trying to help me with auto-starting services, although I still don't know how to do that  Cheesy
  • everybody active in the Dev & Tech from whom I've learned a lot
  • and obviously the teams implementing all the great software I've installed and using now



It may be better to have a way to start everything from one click but I don't know how.
I've noticed that if I started bitcoind and immediately electrs, the second has failed, so now I just check when bitcoid is synced and then start electrs, I wait for electrs show it's ready and then start blockchain explorer and/or electrum. It's not optimal, but it's OK for my needs and... this is how much I've manged to do.


Edit 1: corrected/improved wording
Edit 2: corrected the .sh files per ETFbitcoin suggestion and ensured their paths too.
5517  Bitcoin / Development & Technical Discussion / Re: Bitcoin + Electrum server + Block explorer under Windows (with WSL and Debian) on: October 24, 2021, 10:51:34 AM
BTC RPC Explorer (from https://github.com/janoside/btc-rpc-explorer)

I expect this to be installed after Electrs is completely synced, and it's running.
Open a new Debian (R-Click on the Debian rectangle on the task bar and select Debian) and let's go.
Again some Linux commands to be ran:

Code:
sudo su
curl -fsSL https://deb.nodesource.com/setup_lts.x | bash -
apt-get install -y nodejs
exit
git clone https://github.com/janoside/btc-rpc-explorer
cd btc-rpc-explorer
npm install

Now I've made, again under Windows, and again on my E: drive a file called .env with the content based on the official sample:

Code: (.env)
BTCEXP_BASEURL=/exp/
BTCEXP_BITCOIND_HOST=127.0.0.1
BTCEXP_BITCOIND_PORT=8332
BTCEXP_BITCOIND_COOKIE=/mnt/X/BitcoinDataDir/.mycookie
BTCEXP_BITCOIND_RPC_TIMEOUT=5000
BTCEXP_ADDRESS_API=electrum
BTCEXP_ELECTRUM_SERVERS=tcp://127.0.0.1:50001
BTCEXP_ELECTRUM_TXINDEX=true
BTCEXP_SLOW_DEVICE_MODE=false
BTCEXP_PRIVACY_MODE=true
BTCEXP_NO_RATES=true

Now copy .env into the Linux folder and start

Code:
cp /mnt/e/.env .
npm start

Edit 2022-04-17: If, at a later point, you might want to update BTC RPC Explorer, you can take a look here: https://bitcointalk.org/index.php?topic=5367296.msg59888845#msg59888845
5518  Bitcoin / Development & Technical Discussion / Re: Bitcoin + Electrum server + Block explorer under Windows (with WSL and Debian) on: October 24, 2021, 10:35:36 AM
Electrs (from https://github.com/romanz/electrs)

The steps are based on the official install page and my struggle.
Some of the tools (curl, git) were missing and I had to install them myself.

I had to do all the following commands, one by one:

Code:
sudo apt install curl
sudo curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source $HOME/.cargo/env

sudo apt install cargo

sudo apt update
sudo apt install clang cmake build-essential

sudo apt install librocksdb-dev=6.11.4-3

sudo apt install git
git clone https://github.com/romanz/electrs
cd electrs
ROCKSDB_INCLUDE_DIR=/usr/include ROCKSDB_LIB_DIR=/usr/lib cargo build --locked --release

[later note: if sudo apt install librocksdb-dev=6.11.4-3 fails on Debian you can try sudo apt install librocksdb-dev=6.11.4*]
[later note: if sudo apt install librocksdb-dev=6.11.4-3 still fails (probably on Ubuntu), read this post for workaround]

I've edited under Windows (as e:\electrs.toml, keep this path in mind, you'll have to copy it to Linux) the config file; it was based on the config from the official example and mine looks like this (I also kept only the useful lines)

Code: (electrs.toml)
cookie_file = "/mnt/x/BitcoinDataDir/.mycookie"
daemon_dir = "/mnt/x/BitcoinDataDir"
daemon_rpc_addr = "127.0.0.1:8332"
daemon_p2p_addr = "127.0.0.1:8333"
db_dir = "/mnt/y/ElectrsData"
network = "bitcoin"
electrum_rpc_addr = "127.0.0.1:50001"
#verbose = 2 -> obsolete, was working with version 0.9.0, no longer works in 0.9.3
#use log-filters for version 0.9.3+
log_filters = "INFO"
server_banner = "Electrs @ NeuroticFish, yay!"

[Edit: version 0.9.3 doesn't like verbose in the config, using log-filters instead.]

This means that the Electrs data (up to 70 GB, according to some docs, but right now that folder on my computer is only 30 GB) will be on drive Y:, as Y:\ElectrsData
Under Debian, please create that folder:
Code:
mkdir /mnt/y/ElectrsData

Go into the correct folder and copy the config (you've saved it, right?). And don't forget the ending space and point
Code:
cd target/release
cp /mnt/e/electrs.toml .

Start electrs and let it sync, it'll take some hours in the first run.

Code:
./electrs

At a later point it will show the sweet:

Code:
[2021-10-16T13:31:39.392Z INFO  electrs::server] serving Electrum RPC on 127.0.0.1:50001


Edit 2022-04-17: If, at a later point, you might want to update Electrs, you can take a look here: https://bitcointalk.org/index.php?topic=5367296.msg59888827#msg59888827
5519  Bitcoin / Development & Technical Discussion / Re: Bitcoin + Electrum server + Block explorer under Windows (with WSL and Debian) on: October 24, 2021, 10:35:12 AM
WSL on Windows, Debian

Under windows (10), go to Start menu and type Turn Windows features on or off
Near the end of the list there's Windows Subsystem for Linux. Set that checked, OK, let it install/restart and so on.

When that's done, Start menu and type Run, and in the run box type https://aka.ms/wslstore <enter>
There install Debian (I had troubles with Ubuntu, so Debian it is).
Keep in mind that Debian and what's on it will take some 4.5 GB on the Windows drive. [Edit 2022-02-17: if the size on windows partition is a problem like it was for me, here's the solution.]

Start Debian, create an user and password for yourself and we can continue the real deal.

If you have an aggressive antivirus like myself (e.g. Comodo), it may be a good idea to disable the auto containment component. And don't forget to re-renable it after all the install is done.
I didn't do this at start and I've lost a lot of time because this or that was blocked from running under WSL.

It worth mentioning (thank you HCP, you have spared me a lot of time) that for each Windows drive, under Debian you'll have /mnt/<drive letter>/your path on that drive

Update the OS:

Code:
sudo apt update
sudo apt dist-upgrade
5520  Bitcoin / Development & Technical Discussion / Bitcoin + Electrum server + Block explorer under Windows (with WSL and Debian) on: October 24, 2021, 10:00:41 AM
This may be useful to others too, since I've spent quite a lot of time figuring out how to have everything working on a machine that runs a lot, but it's on Windows.

This walkthough is meant to show how to install an Electrum server (electrs) and a block explorer (BTC RPC Explorer) on (more or less) Windows. It's "more or less" because I actually use WSL (windows subsystem for linux) to get a Debian run under Windows.

If you have only one wallet and you don't want your block explorer, Electrum Personal Server may be enough for you. Start reading the other thread from here, I have 2 posts on that topic.

Electrs is not restricted to one wallet and also has useful data for the block explorer, hence this more generic setup was what I was looking for.

I will post all the details I remember and I will post also my config files too. Improvements are welcome, since I'm not really a Linux guy and, as said, most of this setup is still under Linux.

Bitcoin

Bitcoin is easy to install under Windows, it just runs, make sure your data directory is set somewhere with plenty of space, I use an external drive (X:\BitcoinDataDir)
I've created in X:\BitcoinDataDir a file bitcoin.conf with the following content:
Code: (bitcoin.conf)
txindex=1
server=1
rpcbind=127.0.0.1
rpcallow=127.0.0.1
rpccookiefile=.mycookie

Some extras:
1. If you want to not be too generous with the network, you may be tempted to use maxconnections in your config. Although I've read you should put minimum value 12, it's not enough. When I've tried that the block explorer may not be able to connect. With a value like 25 it was OK.
2. Make sure that if you use maxuploadtarget in your config, you also add whitelist=download@127.0.0.1

Of course, you can just keep it simple and don't add those extras.

I've also made 2 batch files because I'm lazy. Both are in the same folder ad bitcoind.exe and I've made for both shortcuts onto desktop.

Code: (start_bitcoin.bat )
bitcoind -datadir=X:\BitcoinDataDir

Code: (stop_bitcoin.bat)
bitcoin-cli.exe -datadir=X:\BitcoinDataDir stop

As a note, keep in mind that bitcoind will "discuss" with electrs and the block explorer only after the console shows progress=1.000000
And yes, you should leave at least bitcoind run as much as possible.


LE: If you prefer to use all this with RPC user/password instead of RPC cookie file, the configs are adapted in this later post.
Pages: « 1 ... 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 [276] 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 ... 839 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!