Sorry, i made a mistake, it's been some time since i tried electrumx and not familiar with daemontools (usually i use systemd). If you're using an implementation of the server that has a simpler tutorial, feel free to give me a link please! The problem with systemd is that I get this: angelo@DESKTOP-5QOEJVC:~/electrumx$ systemctl start electrumx System has not been booted with systemd as init system (PID 1). Can't operate. sudo affect how you run Electrum with daemontools, not where environment file is locate I meant that I'm running the commands from “angelo”, which is the main user probably. How do run electrumx? Simply by typing electrumx_server? If yes, i think that's the problem since you're following guide to configure/run electrum with daemontools. I don't understand. Should there be a command for daemontools that will start the electrumx server? The only thing that is mentioned about those tools is this: https://github.com/spesmilo/electrumx/blob/master/docs/HOWTO.rst#using-daemontools
|
|
|
/mnt/e/p2p/BTC/AppData/testnet Thanks for that, but it seems that something else goes wrong, because I still get the same error. I reads that I haven't set a DB_DIRECTORY while I do have on scripts\electrumx\daemontools\env.
|
|
|
Assuming you're using daemontools and install as regular user (not as root), then yes. What would be the difference? I'm not sure if I have installed it as a regular user. I have used sudo for most of the commands, because it kept returning me that I don't have permission. The electrumx directory is located on the main user ( angelo) and not on electrumx.
|
|
|
But few configuration file such as "DB_DIRECTORY" should be available by default. The bitcoin's testnet block chain is downloaded on my external drive. Not inside any of the ubuntu's directories. Could this be the issue? This is how I've modified DB_DIRECTORY on scripts\electrumx\daemontools\env: E:\p2p\BTC\AppData\testnet
|
|
|
Well, thank you. I know that already. I just saw the bottom box wrote that you will be junior member in 1.5 month. Just was confused. Next activity adjustment is in 5th of May. You'll most likely reach the required activity that day.
|
|
|
Thank you. Written in the bottom large text box that being Junior member take a month and a half? Does getting merit speed it up? Can you please explain? Merit isn't a number that increases based on your time you've been active here. It's a unit that it's been sent to users from other users to define the value of a post. Once you receive 2 merits, you'll be able to send 1 merit to someone else. People usually spend their sMerits to useful posts, so if you see a member with high merit count, it means that he/she has been helpful to the community. You have reached 28 points of activity, but you haven't received any merits.
|
|
|
Is this sequence secure or are there incorrect/dangerous steps above? I personally find it dangerous. Let me explain you the parts where I find incorrect. 3. Open bitaddress.org You're choosing to generate the keys from a website. Whether if it's a malicious one or not, your wallet's compromisation may happen from a third party. Not to mention that you'll have to run javascript for the addresses' generation which is also not recommended. Can I ask you why you prefer to have a paper wallet instead of just writing a seed phrase? You will be, then, able to derive as many addresses as you want. 6. Archive and encrypt the file with WinRar (including file name and attributes encryption), using more than 14 letter password You probably don't know it, but WinRar isn't open-source. This means, that you'll encrypt using a compiled version of an unknown code. 7.Write the archive onto 3 mini CD-R disks. I will write multiple copies of the file until the disk is full, in case of partial disk damage/scratch or file corruption. I don't like it. It may work, but I don't like the way you've thought this. 10. Password will be stored in the memory (in the brain) by several people (family). I don't know how many people is this “several”, but I would have high doubts for the long term. I mean, how can you be so sure that a password that is more than 14 characters long will remain on your memory?
Here's a very secure way to do it: 0. Download electrum and verify it!. 1. Boot Linux. 2. Do not connect to your home internet. 3. Transfer the electrum installer that is verified to your freshly-booted machine. 4. Open electrum and create a new, standard wallet. 5. Write down those twelve words it'll pop you on a piece of paper.. 6. Copy all of your receiving addresses and transfer them to your USB as a txt file. You can view them by clicking on “View” --> “Show Addresses”. ( Warning: The addresses, not the private keys!) 7. Get rid of the linux and copy that txt file to multiple drives. 8. Optional: Store the piece of paper of with your seed phrase on multiple places, to prevent any loss. You now have nothing to worry about. Everything's open-source, you have nothing to remember and you have only written down twelve words.
|
|
|
So if I have the private key then would I be able to see the actual balance and would be able to spend using Electrum? I guess I would? No, it doesn't have to do with that. When you query a command to an electrum server, whether if you're using a watch-only wallet or not, you're sending the address, not the public key. Electrum nodes fetch the transactions related to that script hash and only those. If you search Hal's address' script hash among all those transactions you'll see that it has received 0.0159762. But if along with the hash, you search the public key you'll see that it's 50.0159762. A better picture of the subject. Nowdays, when you sign a transaction and broadcast it, you're locking your funds to a 160-bit hash. Example: 403556352dc1060df7abc73a7ecfbaeedf99fa20 Back in 2009, you were locking your funds to a compressed ECDSA public key as shown: 0345baa5126ef28873efb402ca1c0a45ea9f6acfd59858252f5d28d3a6d116373c I hope I made it clear to you.
|
|
|
Yes, that's because electrum doesn't display P2PK transactions and Hal's rewarded bitcoins were paid to his public key. For an unknown reason, electrum looks only for the transactions that are related through through the derived script hash from the address. Pay-to-public-key transactions aren't related to that script hash and that's why it doesn't return you the proper amount. That was firstly answered by @ ranochigo. You can find out more here: Electrum doesn't show rewarded coins.
|
|
|
Thanks. Are these environment variables located at home\<user>\scripts\electrumx\daemontools\env ?
|
|
|
Alright, let's see. I've redone the entire procedure, because I was very sure that I was doing something wrong. I run electrumx_server on the terminal, but I get these errors: angelo@DESKTOP-5QOEJVC:~/electrumx$ electrumx_server INFO:electrumx:ElectrumX server starting ERROR:electrumx:ElectrumX server terminated abnormally Traceback (most recent call last): File "/home/angelo/.local/bin/electrumx_server", line 31, in main env = Env() File "/home/angelo/.local/lib/python3.7/site-packages/electrumx/server/env.py", line 46, in __init__ self.db_dir = self.required('DB_DIRECTORY') File "/home/angelo/.local/lib/python3.7/site-packages/electrumx/lib/env_base.py", line 40, in required raise cls.Error(f'required envvar {envvar} not set') electrumx.lib.env_base.EnvBase.Error: required envvar DB_DIRECTORY not set Could it be a configuration issue?
|
|
|
It is an investment and a store of value but not a medium of exchange. Stating the opposite is also wrong. The fact that people accept it as a payment method makes it, indeed, a medium of exchange.
|
|
|
Wrong. Bitcoin is a currency not an investment. While I do believe that it should be considered by most people as a currency and not as an investment, I find it wrong to not consider it an investment. Bitcoin was introduced as a cash system, and thus, a currency, but an investment is any asset or item that will bring profit at some point in the future. A house is a building for human habitation, but it's also an investment. Or an even better example: If you take part to Forex trading, all the national currencies are, simultaneously, investments.
|
|
|
Thank you for saying that, this is actually the type of feedback I want. Would you be willing to take some time and tell me what you found to be complicated? There aren't many things to be mentioned about the complexity of the tutorial. As I said, you guided the reader step-by-step of how to verify the signature of the binaries, but what I find missing from this tutorial and generally from almost every tutorial on the internet is the lack of explanation. Don't get me wrong! Not the explanation that will make you succeed on verifying the signature. I'm talking about the answer to " why?". You do not need your own private key to verify a signature, but you will need one to certify the public keys of others. Why would I need a private key to certify the public keys of others? Chose the email address you want to certify, there's no reason not to select them all. Click Certify. Why would I need to certify someone just to ensure that my electrum binaries aren't malicious? Why will I have to deal with an email address and how is it resulted from a file of non-sense characters? Once installation is completed, and Kleopatra launches I recommend you create a private key. Why would you recommend me to create a private key? Note that this can be very confusing for a newbie. Do I need a private key for the certification of Thomas' identity or is it just recommended after all?
|
|
|
Although there's nothing wrong with that, I fail to see how that's faster. GPG can verify the 28 megabyte windows installer file in just a few second (if that,) it takes me longer to type out the command. I meant faster for the newbies who want to verify their executables. I don't know about the others but when I firstly verified electrum using this tutorial, I wasn't completely sure of what I was doing. I was feeling secure with the replies and with the greatly described steps, but I considered the method kinda complex. To be honest, I wasn't into anything related with Bitcoin a year ago, as you can see in the first page of this thread, so this is maybe why. ![Lips sealed](https://bitcointalk.org/Smileys/default/lipsrsealed.gif) Or I may simply have this weirdly paranoid symptom in which you want to understand every-single-thing you're doing, on a disgustingly detailed way, such as understanding the maths behind RSA/ECC. Anyway. Signed checksums might had a shorter tutorial than this one. Although, you're explaining everything perfectly. They don't like that approach due to slight risk of checksum collisions. While, they may prefer not to do this with the checksum-way, I personally find it ridiculous for them to justify it with the collisions. Despite the fact that it's never going to happen you're essentially failing the function your entire project relies on. It's ironic...
|
|
|
Using solely the hash of the files as a validation is insecure. There is a reason why Bitcoin Core hash sums are included within a PGP signed message and users are encouraged to verify them first before trusting it. This is exactly what I said. To upload a signed message containing the hash instead of leaving a hash solely. There shouldn't be anything wrong with this and it's quite faster than the other method.
|
|
|
I didn't get yet couple of hours. how long is it take? How long will it take to get your ether? Never. How long will it take to use your common sense? It depends exclusively on you. You've been defeated by your greed and your common sense at the same time. In this world, there's no one giving free money to the throng. Since you're dealing with cryptocurrencies, a scam-bargain, you should also know that the transactions are irreversible. But besides that, if Vitalik really announced such thing, what could stop me from withdrawing all his ETH by doing the same procedure repeatedly? Common sense Underrated weapon.
|
|
|
You'd still need to verify the hash using the GPG signature. There are other simpler ways to verify a signed message, but GPG does fine, yes. It's a quick way to see if something is good, but without verifying the signature anyway, it's possible that the site was compromised and showing a hash that matches the executable or binary. But if the site was compromised, and it showed a different hash, the signature using Thomas' key wouldn't be valid.
|
|
|
Yes, that's how it works with BITCOIN, if somebody control +51% of the mining software, then they decide the consensus. The consensus decide which transactions go into the block-chain. You never stop spread FUD, don't you? That is wrong, dear readers. To correct the above propagandist: If some authority controls the majority of the computational power and wants to harm the network it can by reversing transactions or by generating empty blocks. The consensus has nothing to do with that authority since it's a general agreement. The miners don't vote for changing the consensus rules, you should have read this on a forum quote. He didn't quit, the email trail says that one of his beta-testers had been called to the CIA for a meet-up, and that was the last ever heard of NakamotaSAtoshi. That is also not true. The last confirmed message of Satoshi was on Sat, Apr 23, 2011 when he replied to Mike Hearn that he had moved on to other things.
|
|
|
|