bitcoin core development – Get node 1 to mine another block, send it to node 2, and check that node 2 received it

I am trying to write a test with the bitcoin/test/functional/example_test.py to get node 1 to mine another block, send it to node 2, and check that node 2 received it. Any idea on how to go about/get started on this? I am familiar with python but this is fairly new to me.

Thanks.

bitcoin core – External USB SSD not recommended for full node?

Peter Wiulle said:

Don’t use an external drive connected through USB – such hardware is
not designed for the kind of heavy database load Bitcoin Core causes.

Why is that? Im using a Samsung T7 2TB on the USB 3.0 port, is a 16 core CPU, super fast. I have not seen problems using my Linux distro of choice and it was fully synced but now im worried. What could go wrong?

I bought this because in case I wanted to travel I could easily plug the drive on other computer. Also I don’t use that setup for anything but to run the node so it seems convenient. It would just be so annoying to run this on a mounted SSD.

offline transactions – What im supposed to do to run Core in airgapped computer?

What do you do? Just open it and leave it trying to sync indefinitely and just use it to create and store keys and sign them?

Can I stop it from trying to sync?

Also as you sign the unsigned transactions by opening the generated PSBT files in your online laptop, does this offline wallet save the history and record that this transaction was made even tho it isn’t reflected because its offline? just to keep track of it.

Also don’t you get paranoid to see 0 BTC in there? even if the watch-only online wallet shows the funds, it just feels weird.

Core 0.18 transaction stays in memory pool in own coin

I build my own crypto coin using core 0.18 (source code from Litecoin) and got the following problem.

Everything is working fine I redid the whole process 5 times, but still have 1 problem whenever
I make a transaction it stays in 0/unconfirmed even after mining hundreds of blocks, in the memory pool.
(idk if this has something to do with it but I heard this problem could be because of lightspeed transactions.)

Thx, for helping 🙂

bitcoin core – How hashlib hashes ascii type inputs

Hi I am new to bitcoin I just want to know how hashlib hashes ASCII

b' x00x00x04xedx1dx8cr(mxb2(xbfytfx13xb8xb9$={x13xd1x00x08xd1:x00x00x00x00x00x00x00x00xc5xccxfdz!x00xd8x06>ixd2x97+x13.xf9rKxa3xe80x04xe8!x1cxf5x04xacFx8bjxedx17x14x96$xffxacxedxe8xb0xafxb4x00x00x00x80x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x80x02x00x00'

This kind of Inputs

bip174 psbt – Does anyone have a step by step tutorial in how to use Bitcoin Core in 2 laptop airgapped scheme?

What I mean is, 2 laptops:

-laptop 1: Connected to the internet, synced, has watch-only wallets of all private keys to be found in laptop 2’s wallet
-laptop 2: Never connected to the internet. You just install the latest version of the distro of choice, install Bitcoin Core, create your wallet there.

Now with PSBT I think it’s easier to send the raw unsigned transaction from one computer to another (back then I think this was done by hand). The thing is, I don’t want to screw up, so im going to test this in testnet mode first. Nonetheless, I would like a step by step tutorial to see each step done well by someone that is experienced in this setup. Im asking because I just only find people using HW wallets which I don’t like, when I search for PSBT, but no 2 Bitcoin Core laptops scheme. Ideally you want to use an SD card better than an USB to move the PSBT file from one laptop to another so that is how I plan to do it. Or even better generate a QR code, but I don’t have a reader right now so I will go with an SD card reader.

Anyway, please let me know because I cannot find any video or blog post on this.

bitcoin core – Crossing borders: security scheme ideas

More and more airports force you to decrypt your data, they will also dump your stuff keeping a backup. This could happen in just about any border you try to cross. It is only safe to expect this to get more common.

The question: how do you keep your wallet.dat file safe?

-Full disk encryption: A big problem since you are prompted with a password right at the start when you turn the laptop on, no way out.

-Hiding it in some obscure file somewhere: Forensics have tools to find headers that match encrypted volumes made by popular encryption programs, so I don’t think it would fly. Also realize that they do data dumps so your stuff would be there for them to find eventually.

-Putting your encrypted wallet file somewhere on the net: Where, and why would you trust this anyway? you don’t control the servers. If you have to pay for the service, you have already linked yourself to the file. If it’s free, you still can’t trust these services, for instance these famous “end to end encryption email services”. Who says they cannot access the data or that a database leak wouldn’t happen? Plus the general not so nice feel of knowing a backup of your file is somewhere and even temporarily, once you delete it you don’t really know if it was really deleted. Any encrypted file now is like a treasure for crackers since Bitcoin is a thing. Of course if we assume Bitcoin private keys are safe then a strong 64 character password should be impossible to bruteforce, but you must be able to remember this password on your mind, and im not so sure that you can generate a 64 character password strong enough that you can remember it while being safe from bruteforce.

Anyway, im looking for your ideas. Also because I only trust Bitcoin Core I do not store coins in Electrum so the “12 character password seed” is not a thing. HW wallets are just big signs that say “look, this dude has coins there” so it’s pretty pointless. Im really out of ideas in how to try to move around borders while storing coins in the Core wallet format so please let me know your ideas. Cheers.

magento2 – How to add constant in core class ? and how to access that ? in magento 2

  1. create di.xml in to the following location

app/code/Vendor/Extension/etc/di.xml

<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
    <preference for="MagentoCatalogModelCategory" type="VendorExtensionModelCategory" />
</config>
  1. create Category.php file on this location.

app/code/Vendor/Extension/Model/Category.php

namespace VendorExtensionModel;

class Category extends MagentoCatalogModelCategory
{
    const STATUS_PICKING = 'picking';

  public function __construct()
    {
        echo "Model Rewrite Working"; die();

    }
}

forms – Profile webform core exception error on wordpress

forms – Profile webform core exception error on wordpress – WordPress Development Stack Exchange

bitcoin core – Impact: unknown rules (versionbit 2) have been activated

“unknown rules (versionbit 2) have been activated”

This means that you are probably using an old version of Bitcoin core that doesn’t understand new types of Bitcoin transaction. The current version is 0.21.1.

It almost certainly has nothing to do with the second part of your question.

Installing a new version of Bitcoin core from the genuine website should make the message go away. It won’t get your money back though.


Bitcoin core made a transaction by itself

If you didn’t make the transaction, Either someone else has access to your wallet or to a copy of your wallet (that is, they have had some kind of access to the private keys in the wallet). It is possible your computer has malicious software on it that you were tricked into installing.

Don’t download software from trickster websites that use variations of the name such as “BTC core”. Mistakenly installing malicious software is one way of having money stolen. I note that there is a site whose URL spells bitcoincore with an accented Ĺ„ – I can only assume it is a fake website providing maliciously altered software that steals money. That malicous imposter website seems to have currently bought its way to the top of the Google results (It’s an “Ad” result). bitcoincore is OK, bitcoiĹ„core is fake.

and send all my bitcoins from wallet to adress i don’t recognise.

That sounds like theft.

Can I do something with this issue and get my bitcoins back?

You can’t cancel, undo or reverse a confirmed transaction. Only the person or business who controls the receiving address can create a new transaction sending the same amount to you. It is possible the money has been moved further.

Beware of fake recovery agents. You are much more likely to be tricked out of further money than to any see any significant amount of stolen money returned to you.

See

DreamProxies - Cheapest USA Elite Private Proxies 100 Private Proxies 200 Private Proxies 400 Private Proxies 1000 Private Proxies 2000 Private Proxies 5000 Private Proxies ExtraProxies.com - Buy Cheap Private Proxies Buy 50 Private Proxies Buy 100 Private Proxies Buy 200 Private Proxies Buy 500 Private Proxies Buy 1000 Private Proxies Buy 2000 Private Proxies ProxiesLive.com Proxies-free.com New Proxy Lists Every Day Proxies123.com Buy Cheap Private Proxies; Best Quality USA Private Proxies