Bitcoin Forum
May 25, 2024, 11:26:15 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 3 4 5 »  All
  Print  
Author Topic: [ANN] Warthog Crypto Currency  (Read 2675 times)
RavidGil (OP)
Newbie
*
Offline Offline

Activity: 24
Merit: 2


View Profile
June 29, 2023, 08:00:25 PM
Last edit: December 17, 2023, 07:10:01 AM by RavidGil
Merited by Lind (2)
 #1

Welcome to Warthog!

Warthog is an experimental cryptocurrency implementation without
specific focus. Don't take this project seriously, it is just
our hobby experiment.

But beware of bugs: Here be dragons. Almost everything was
implemented from scratch. Don't expect this
software to be rock solid, and don't even expect things to work
properly. Use at your own risk. There may be and are almost
certainly are serious bugs! You have been warned.

Have fun with it. Like we had implementing it.

Pumbaa, Timon & Rafiki

SOME LINKS
==================

WHAT IS IN THE BOX
==================

* Reference node implementation of the Warthog Network
* Command line wallet software
* CPU Miner

USAGE
=====

* Linux only at the moment
* Compile with meson/ninja
* Run the node (use some restarter in case it crashes)
* Run the miner (compile with release build type for performance)
* Optional: Run the wallet to send funds.
* Good luck and have fun! Use --help the option.

NOTE: We (or some of us) might drop this project any time in case
      deep/unfixable bugs or ugly design issues arise. Or without
      any reason and without prior notice.
illusionoflove
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
June 29, 2023, 09:35:41 PM
 #2

Any more info you can add, such as algo or any of the economics?

Or is there any community forming on discord or telegram we could see?
synthgauge
Hero Member
*****
Offline Offline

Activity: 1149
Merit: 502


View Profile
June 30, 2023, 05:31:59 PM
 #3

We have updated the tokenomics on the official website. We will use that site to sell the token through the ICO. It does not have https it is too costly to have that but its alright as long as we have everything under sway. Nice to be in the first row of the forerunners at the forefront of the frontier with endeavor that makes headway with steep leaps.
RavidGil (OP)
Newbie
*
Offline Offline

Activity: 24
Merit: 2


View Profile
June 30, 2023, 05:49:06 PM
 #4

We have updated the tokenomics on the official website. We will use that site to sell the token through the ICO. It does not have https it is too costly to have that but its alright as long as we have everything under sway. Nice to be in the first row of the forerunners at the forefront of the frontier with endeavor that makes headway with steep leaps.
This guy seems to be a scammer. He has nothing to do with warthog.

Quote from: illusionoflove link=topic=5458046.msg62480391#msg62480391 date=168
8074541
Any more info you can add, such as algo or any of the economics?

Or is there any community forming on discord or telegram we could see?
I will ask my friend on this. He is in a different time zone and quite busy though.
maxwell522
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
July 01, 2023, 01:10:43 AM
 #5

Do you have a specific project introduction? What is the block time?
lijingang
Newbie
*
Offline Offline

Activity: 99
Merit: 0


View Profile
July 01, 2023, 01:48:45 AM
 #6

Can you explain the installation steps of building and compiling? Thank you
makertronic
Copper Member
Newbie
*
Offline Offline

Activity: 22
Merit: 0


View Profile
July 01, 2023, 11:03:32 AM
 #7

Got an error when compiling on ubuntu 20.04 LTS:
nicola@WOORKER005:~/war/Warthog/builddir$ meson compile
INFO: autodetecting backend as ninja
INFO: calculating backend command to run: /usr/bin/ninja
[25/212] Compiling C object thirdparty/uSockets/libusockets.so.p/src_bsd.c.o
FAILED: thirdparty/uSockets/libusockets.so.p/src_bsd.c.o
cc -I./thirdparty/./uSockets/libusockets.so.p -I./thirdparty/./uSockets -I../thirdparty/uSockets -I../thirdparty/uSockets/src -I../subprojects/libuv-v1.44.2/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -O0 -g -fPIC -pthread -DLIBUS_USE_LIBUV -DLIBUS_NO_SSL -w -MD -MQ thirdparty/uSockets/libusockets.so.p/src_bsd.c.o -MF ./thirdparty/./uSockets/libusockets.so.p/src_bsd.c.o.d -o thirdparty/uSockets/libusockets.so.p/src_bsd.c.o -c ../thirdparty/uSockets/src/bsd.c
../thirdparty/uSockets/src/bsd.c: In function ‘bsd_create_connect_socket’:
../thirdparty/uSockets/src/bsd.c:274:104: error: parameter name omitted
  274 | LIBUS_SOCKET_DESCRIPTOR bsd_create_connect_socket(const char *host, int port, const char *source_host, int /*options*/) {
      |                                                                                                        ^~~
[45/212] Compiling C object subprojects/sqlite-amalgamation-3390300/libsqlite3.so.0.8.6.p/sqlite3.c.o
ninja: build stopped: subcommand failed.
IFalco
Newbie
*
Offline Offline

Activity: 19
Merit: 0


View Profile
July 01, 2023, 12:18:32 PM
 #8

Do you have a specific project introduction? What is the block time?

20 sec
RavidGil (OP)
Newbie
*
Offline Offline

Activity: 24
Merit: 2


View Profile
July 02, 2023, 06:36:17 AM
 #9

Do you have a specific project introduction? What is the block time?

20 sec
This is correct. 20 seconds. We do not have a specific project introduction this is just our hobby project for fun. Maybe it will grow, maybe not, let's see.

Got an error when compiling on ubuntu 20.04 LTS:
nicola@WOORKER005:~/war/Warthog/builddir$ meson compile
INFO: autodetecting backend as ninja
INFO: calculating backend command to run: /usr/bin/ninja
[25/212] Compiling C object thirdparty/uSockets/libusockets.so.p/src_bsd.c.o
FAILED: thirdparty/uSockets/libusockets.so.p/src_bsd.c.o
cc -I./thirdparty/./uSockets/libusockets.so.p -I./thirdparty/./uSockets -I../thirdparty/uSockets -I../thirdparty/uSockets/src -I../subprojects/libuv-v1.44.2/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -O0 -g -fPIC -pthread -DLIBUS_USE_LIBUV -DLIBUS_NO_SSL -w -MD -MQ thirdparty/uSockets/libusockets.so.p/src_bsd.c.o -MF ./thirdparty/./uSockets/libusockets.so.p/src_bsd.c.o.d -o thirdparty/uSockets/libusockets.so.p/src_bsd.c.o -c ../thirdparty/uSockets/src/bsd.c
../thirdparty/uSockets/src/bsd.c: In function ‘bsd_create_connect_socket’:
../thirdparty/uSockets/src/bsd.c:274:104: error: parameter name omitted
  274 | LIBUS_SOCKET_DESCRIPTOR bsd_create_connect_socket(const char *host, int port, const char *source_host, int /*options*/) {
      |                                                                                                        ^~~
[45/212] Compiling C object subprojects/sqlite-amalgamation-3390300/libsqlite3.so.0.8.6.p/sqlite3.c.o
ninja: build stopped: subcommand failed.

Not all of us work on weekends because of demanding jobs so we will look into this next week. I am sure pumbaa will try hard to fix this. Can you please specify the compiler version?
lijingang
Newbie
*
Offline Offline

Activity: 99
Merit: 0


View Profile
July 02, 2023, 06:52:14 AM
 #10

meirong@OS-20230306EWPM:/warthog/new$ ninja -C build
ninja: Entering directory buildr[51/212] Compiling C++ object src/node/wart-node.p/asyncio_connection.cpp.oFAILED: src/node/wart-node.p/asyncio_connection.cpp.oclude -I../src/shared/src -I../thirdparty/secp256k1/include -I../thirdparty/sglitecpp/include -I../thirccache c++ -I./src/node/wart-node.p -I./src/node -I../src/node -Isrc/node -I../thirdparty/trezor-crypto/idparty/spdlog/include -I../thirdparty/uSockets/src -I../thirdparty/uWebsockets/include -I../thirdparty/jsn/include -I../thirdparty/tomlplusplus/include -I../thirdparty/tl/include -Isubprojects/sqlite-amaloamation-3390300 -I../subprojects/sglite-amalgamation-3390300 -I../subprojects/libuv-V1.44.2/include -Isrc/shred -fdiagnostics-color-always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=c++2aconnection.cpp.o.d -0 rc/node/wart-node.p/asyncio_connection.cpp.o -c ../src/node/asyncio/connection.c-00 -g -pthread -MD -M0 Src/node/wart-nodep/asyncio_connection.cpp.0 -MF .src/node/wart-node.p/asyncioppIn file included from../src/node/communication/messages.hpp:2from../src/node/communication/buffers/recvbuffer.hpp:3from ../src/node/asyncio/connection.hpp:2.from../src/node/asyncio/connection.cpp:1:/src/shared/src/block/body/container.hpp:3:10: fatal error: pan: No such file or directory3#include <span>NNNNA
compilation terminated[52/212] Compiling C++ object src/node/wart-node.p/block_body-generator.cpp.oFAILED: src/node/wart-node.p/block_body_generator.cpp.occache c++ -I./src/node/wart-node.p -I./src/node -I../src/node -Isrc/node -1../thirdparty/trezor-crypto/iclude -I../src/shared/src -I../thirdparty/secp256k1/include -I../thirdparty/sqlitecpp/include -I../thirdparty/spdlog/include -I../thirdparty/uSockets/src -I../thirdparty/uwebsockets/include -I../thirdparty/jsn/include -I../thirdparty/tomlplusplus/include -I../thirdparty/tl/include -Isubprojects/sqlite-amalgamation-3390300 -I../subprojects/sqlite-amalgamation-3390300 -I../subprojects/libuv-V1.44.2/include -Isrc/shred -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=c++2a-00 -g -pthread -MD -MQ src/node/wart-node.p/block_body-generator.cpp.o -MF ./src/node/wart-node.p/blockbody-generator.cpp.o.d -0 src/node/wart-node.p/block_body-generator.cpp.o -c ../src/node/block/body/generator.cppIn file included from ../src/node/block/body/generator.hpp:2from ../src/node/block/body/generator.cpp:1:/src/shared/src/block/body/container.hpp:3:10: fatal error:span: No such file or directory3#include <span>
A NN N N N
compilation terminated[53/212] Compiling C object thirdparty/uSockets/libusockets.so.p/src_bsd.c.oFAILED: thirdparty/uSockets/libusockets.so.p/src_bsd.c.ocache cc -I./thirdparty/./usockets/libusockets.so.p -./thirdparty/./usockets -I../thirdparty/usockets -/thirdparty/uSockets/src -I../subprojects/libuv-V1.44.2/include -fdiagnostics-color=always -D_FILEOFESET BITS=64 -Mall -Winvalid-och -Wextra -Moedantic -00 -g -fPIC -thread -DLIBUS USE LIBUY -DLIBUS NOSSW -MD -Mo thirdoarty/uSockets/libusockets.so./src bsd.c0 -MF ./thirdparty ./uSockets/libusockets.so
RavidGil (OP)
Newbie
*
Offline Offline

Activity: 24
Merit: 2


View Profile
July 02, 2023, 06:59:09 AM
 #11

I am not a C++ specialist, I would need to wait for pumbaa's or timon's opinion but I think <span> is not found because your compiler is too old?
Compiler version is checked with this command:
gcc --version
lijingang
Newbie
*
Offline Offline

Activity: 99
Merit: 0


View Profile
July 02, 2023, 05:58:20 PM
 #12

I am not a C++ specialist, I would need to wait for pumbaa's or timon's opinion but I think <span> is not found because your compiler is too old?
Compiler version is checked with this command:
gcc --version


gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

The command I use is this, what is wrong? I have installed g++, graphviz, gtest, git, re2c, python2.7+ these dependencies

cd ~ && mkdir Warthog && cd Warthog && git clone https://github.com/ByPumbaa/Warthog new && cd new && mkdir build && cd build && meson .. && ninja



RavidGil (OP)
Newbie
*
Offline Offline

Activity: 24
Merit: 2


View Profile
July 03, 2023, 07:37:59 AM
 #13

I am not a C++ specialist, I would need to wait for pumbaa's or timon's opinion but I think <span> is not found because your compiler is too old?
Compiler version is checked with this command:
gcc --version


gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

The command I use is this, what is wrong? I have installed g++, graphviz, gtest, git, re2c, python2.7+ these dependencies

cd ~ && mkdir Warthog && cd Warthog && git clone https://github.com/ByPumbaa/Warthog new && cd new && mkdir build && cd build && meson .. && ninja





Your commands are correct but your build toolchain is too old, you should upgrade to a newer os version or upgrade your compiler but compiler upgrade is something for experts because it not only involves the compiler itself but also things such as placing new libraries and C++ include files. Please switch to a newer os which comes with gcc 11 or newer.
makertronic
Copper Member
Newbie
*
Offline Offline

Activity: 22
Merit: 0


View Profile
July 03, 2023, 09:06:25 AM
 #14

Do you have a specific project introduction? What is the block time?

20 sec
This is correct. 20 seconds. We do not have a specific project introduction this is just our hobby project for fun. Maybe it will grow, maybe not, let's see.

Got an error when compiling on ubuntu 20.04 LTS:
nicola@WOORKER005:~/war/Warthog/builddir$ meson compile
INFO: autodetecting backend as ninja
INFO: calculating backend command to run: /usr/bin/ninja
[25/212] Compiling C object thirdparty/uSockets/libusockets.so.p/src_bsd.c.o
FAILED: thirdparty/uSockets/libusockets.so.p/src_bsd.c.o
cc -I./thirdparty/./uSockets/libusockets.so.p -I./thirdparty/./uSockets -I../thirdparty/uSockets -I../thirdparty/uSockets/src -I../subprojects/libuv-v1.44.2/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -O0 -g -fPIC -pthread -DLIBUS_USE_LIBUV -DLIBUS_NO_SSL -w -MD -MQ thirdparty/uSockets/libusockets.so.p/src_bsd.c.o -MF ./thirdparty/./uSockets/libusockets.so.p/src_bsd.c.o.d -o thirdparty/uSockets/libusockets.so.p/src_bsd.c.o -c ../thirdparty/uSockets/src/bsd.c
../thirdparty/uSockets/src/bsd.c: In function ‘bsd_create_connect_socket’:
../thirdparty/uSockets/src/bsd.c:274:104: error: parameter name omitted
  274 | LIBUS_SOCKET_DESCRIPTOR bsd_create_connect_socket(const char *host, int port, const char *source_host, int /*options*/) {
      |                                                                                                        ^~~
[45/212] Compiling C object subprojects/sqlite-amalgamation-3390300/libsqlite3.so.0.8.6.p/sqlite3.c.o
ninja: build stopped: subcommand failed.

Not all of us work on weekends because of demanding jobs so we will look into this next week. I am sure pumbaa will try hard to fix this. Can you please specify the compiler version?
here is it is :
ninja --version
1.10.0
gcc --version
gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0

lijingang
Newbie
*
Offline Offline

Activity: 99
Merit: 0


View Profile
July 03, 2023, 02:08:05 PM
 #15

I am not a C++ specialist, I would need to wait for pumbaa's or timon's opinion but I think <span> is not found because your compiler is too old?
Compiler version is checked with this command:
gcc --version


gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

The command I use is this, what is wrong? I have installed g++, graphviz, gtest, git, re2c, python2.7+ these dependencies

cd ~ && mkdir Warthog && cd Warthog && git clone https://github.com/ByPumbaa/Warthog new && cd new && mkdir build && cd build && meson .. && ninja




Still the same error after I upgrade gcc11



Your commands are correct but your build toolchain is too old, you should upgrade to a newer os version or upgrade your compiler but compiler upgrade is something for experts because it not only involves the compiler itself but also things such as placing new libraries and C++ include files. Please switch to a newer os which comes with gcc 11 or newer.
RavidGil (OP)
Newbie
*
Offline Offline

Activity: 24
Merit: 2


View Profile
July 03, 2023, 04:33:30 PM
 #16

How did you upgrade to gcc 11? It is not a standard package of Ubuntu 20.04 LTS.Maybe you messed something up or only did a partial install without corresponding C++ headers like <span>.
Can you try on a newer system like 22.04?
You wrote:
Code:
fatal error: pan: No such file or directory3#include <span>NNNNA
Something is messed up here,  "pan" and "NNNNA" are not normal output. Can you please open a GitHub issue with the correct output?

Ubuntu 20.04.'s compiler packages are too old. You probably chose a workaround to install gcc 11 and did not succeed. You should try compiling on a newer system.

Quote
Still the same error after I upgrade gcc11
Are you sure gcc11 is now used? Is gcc9 still installed? You also need to clear the delete the build directory and create it again. On creation meson outputs the compiler version used.
lijingang
Newbie
*
Offline Offline

Activity: 99
Merit: 0


View Profile
July 03, 2023, 07:31:32 PM
 #17

20230306EWPM:~/Warthog/new/build$ meson ..
The Meson build system
Version: 1.1.1
Source dir: /home/meirong/Warthog/new
Build dir: /home/meirong/Warthog/new/build
Build type: native build
Project name: Warthog
Project version: 0.1
C compiler for the host machine: ccache cc (gcc 11.1.0 "cc (Ubuntu 11.1.0-1ubuntu1~20.04) 11.1.0")
C linker for the host machine: cc ld.bfd 2.34
C++ compiler for the host machine: ccache c++ (gcc 11.1.0 "c++ (Ubuntu 11.1.0-1ubuntu1~20.04) 11.1.0")
C++ linker for the host machine: c++ ld.bfd 2.34
Host machine cpu family: x86_64
Host machine cpu: x86_64

Executing subproject libuv

libuv| Project name: libuv
libuv| Project version: 1.44.2
libuv| C compiler for the host machine: ccache cc (gcc 11.1.0 "cc (Ubuntu 11.1.0-1ubuntu1~20.04) 11.1.0")
libuv| C linker for the host machine: cc ld.bfd 2.34
libuv| Fetching value of define "__QNX__" :
libuv| Fetching value of define "_AIX" :
libuv| Message: System: linux
libuv| Compiler for C supports arguments -fno-strict-aliasing: YES
libuv| Run-time dependency threads found: YES
libuv| Library dl found: YES
libuv| Library rt found: YES
libuv| Build targets in project: 1
libuv| Subproject libuv finished.

Using sqlite3 source from cache.
Downloading sqlite3 patch from https://wrapdb.mesonbuild.com/v2/sqlite3_3.39.3-1/get_patch
WARNING: failed to download with error: Remote end closed connection without response. Trying after a delay...
WARNING: failed to download with error: WrapDB connection failed to https://wrapdb.mesonbuild.com/v2/sqlite3_3.39.3-1/get_patch with error <urlopen error [Errno 111] Connection refused>.. Trying after a delay...
WARNING: failed to download with error: WrapDB connection failed to https://wrapdb.mesonbuild.com/v2/sqlite3_3.39.3-1/get_patch with error <urlopen error [Errno 111] Connection refused>.. Trying after a delay...
RavidGil (OP)
Newbie
*
Offline Offline

Activity: 24
Merit: 2


View Profile
July 03, 2023, 07:38:00 PM
 #18

Please try again later, this might be a temporary network issue:
Code:
WARNING: failed to download with error: WrapDB connection failed to https://wrapdb.mesonbuild.com/v2/sqlite3_3.39.3-1/get_patch with error <urlopen error [Errno 111] Connection refused>.. Trying after a delay...
And don't forget to delete the build directory before you try again.
lijingang
Newbie
*
Offline Offline

Activity: 99
Merit: 0


View Profile
July 03, 2023, 07:38:36 PM
 #19

Haha, I seem to build and compile successfully, it is not easy.
meirong@OS-20230306EWPM:~/Warthog/new/build$ ninja --version
1.11.1.git.kitware.jobserver-1
meirong@OS-20230306EWPM:~/Warthog/new/build$ ninja
[153/212] Compiling C object src/miner/wart-miner.p/third_party_cpuminer-opt_sph_sha2.c.o
../src/miner/third_party/cpuminer-opt/sph_sha2.c:822: warning: ISO C forbids an empty translation unit [-Wpedantic]
[168/212] Compiling C object src/miner/wart-miner.p/third_party_cpuminer-opt_sha256-hash-opt.c.o
In file included from ../src/miner/third_party/cpuminer-opt/simd-utils.h:155,
                  from ../src/miner/third_party/cpuminer-opt/sha256-hash-opt.c:14:
../src/miner/third_party/cpuminer-opt/simd-utils/simd-int.h:55:18: warning: ISO C does not support '__int128' types [-Wpedantic]
    55 | typedef __int128 int128_t;
       | ^~~~~~~~
../src/miner/third_party/cpuminer-opt/simd-utils/simd-int.h:56:18: warning: ISO C does not support '__int128' types [-Wpedantic]
    56 | typedef unsigned __int128 uint128_t;
       | ^~~~~~~~
[212/212] Linking target src/miner/wart-miner
lijingang
Newbie
*
Offline Offline

Activity: 99
Merit: 0


View Profile
July 03, 2023, 07:41:13 PM
 #20

Please try again later, this might be a temporary network issue:
Code:
WARNING: failed to download with error: WrapDB connection failed to https://wrapdb.mesonbuild.com/v2/sqlite3_3.39.3-1/get_patch with error <urlopen error [Errno 111] Connection refused>.. Trying after a delay...
And don't forget to delete the build directory before you try again.

meirong@OS-20230306EWPM:~/Warthog/new/build/src$ ls -a
.  ..  miner  node  shared  wallet

meirong@OS-20230306EWPM:~/Warthog/new/build/src$ ls -a
. .. miner node shared wallet

May I ask which 2 programs do I need to run? wallet and which
Pages: [1] 2 3 4 5 »  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!