Bitcoin Forum
May 07, 2024, 10:16:52 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Bitcoin Technical Support / To install Bitcoin Core with the genesis and few other first and last blocks on: December 21, 2022, 10:17:03 AM
Hi,

I would like to know if there is query allowing at install Bitcoin Core with for example only the genesis block, its next three blocks and the last three blocks.

I know, one can use prune in order to have a minimum of 550 blocks corresponding to 550Mb. However, this feature was available since 2014-2015.

Quote
-prune= Reduce storage requirements by enabling pruning (deleting) of old blocks. This allows the pruneblockchain RPC to be called to delete specific blocks, and enables automatic pruning of old blocks if a target size in MiB is provided. This mode is incompatible with -txindex and -rescan. Warning: Reverting this setting requires re-downloading the entire blockchain. (default: 0 = disable pruning blocks, 1 = allow manual pruning via RPC, 550 = automatically prune block files to stay under the specified target size in MiB)

 
2  Bitcoin / Bitcoin Technical Support / Bitcoin Core doesn't compile on: December 20, 2022, 10:12:42 AM
Hi all,

I'm trying to compile Bitcoin Core but I'm getting an error message.

After the following commands,
Code:
$./autogen.sh
$./configure
$sudo make

I got the the following error message :

Quote
make: *** No targets specified and no makefile found.  Stop.

A Makefile.am exists in the main folder so I don't see where come from.
3  Bitcoin / Bitcoin Technical Support / Bitcoin-CLI - Cannot connect to the server on: December 19, 2022, 12:14:23 PM
I tryied querying Bitcoin-cli (Bitcoin Core 24.0.1) in Ubuntu 20.04 WSL2 doing the following commands :

Code:
$ bitcoind -debug -daemon

Quote
Bitcoin Core starting

Code:
$bitcoin-cli -rpcuser=user -rpcpassword=pass -rpcport=19084

but for this last command I get the following error :

Quote
error: timeout on transient error: Could not connect to the server
127.0.0.1:19084

Make sure the bitcoind server is running and that you are
connecting to the correct RPC port.

My bitcoin.conf file parameters are :

Code:
rpcuser=user
rpcpassword=pass
rpcallowip=127.0.0.1
rpcport=19084
server=1

I then tried the following command in order to check if bitcoind still running in the background :
Code:
$ps -aux

Quote
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.0    896   532 ?        Sl   05:10   0:00 /init
root       212  0.0  0.0    896    88 ?        Ss   07:22   0:00 /init
root       213  0.0  0.0    896    88 ?        R    07:22   0:00 /init
username   214  0.0  0.1  10288  5548 pts/0    Ss   07:22   0:02 -bash
root       248  0.0  0.0    896    88 ?        Ss   07:30   0:00 /init
root       249  0.0  0.0    896    88 ?        S    07:30   0:00 /init
username   250  0.0  0.1  10176  5404 pts/1    Ss   07:30   0:00 -bash
username   296  0.0  0.3  23572  9756 pts/1    S+   07:33   0:01 vi bitcoin.conf
root       367  0.0  0.0    896    88 ?        Ss   09:26   0:00 /init
root       368  0.0  0.0    896    88 ?        S    09:26   0:00 /init
username   369  0.0  0.1  10176  5572 pts/2    Ss+  09:26   0:01 -bash
username  1035  0.0  0.1  10856  3460 pts/0    R+   10:51   0:00 ps -aux


but apparently bitcoind stopped running for an unknown reason.
4  Alternate cryptocurrencies / Altcoin Discussion / Altcoin error - no log file generated on: December 12, 2022, 11:06:07 AM
Hi all,

I try to create an altcoin, and successfully recompiled the code.

However, I received an error when trying to make a regression test. I then look for the log file but apparently it was not generated.

Also, I'm looking for a guide to set up a debuging environment.
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!