Bitcoin Forum
April 26, 2024, 06:20:37 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 215 216 217 218 219 220 221 222 223 224 225 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 »
  Print  
Author Topic: [*] 8BIT [Dark Masternodes][Anon][Roadmap Stage 4]  (Read 379544 times)
drays
Legendary
*
Offline Offline

Activity: 2520
Merit: 1073


View Profile
August 17, 2017, 02:28:33 PM
 #5281

Build has come a lot further along, but now I get this error:

$  make -f makefile.unix&&strip 8bitd&&sudo cp 8bitd /usr/bin
/bin/sh ../share/genbuild.sh obj/build.h
g++ -c -O2  -pthread -Wall -Wextra -Wno-ignored-qualifiers -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -DUSE_SECP256K1 -I/home/r8st/8bit/src -I/home/r8st/8bit/src/obj -DUSE_UPNP=0 -DENABLE_WALLET -I/home/r8st/8bit/src/leveldb/include -I/home/r8st/8bit/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/darksend.d -o obj/darksend.o darksend.cpp
darksend.cpp: In member function ‘bool CDarkSendPool::IsCollateralValid(const CTransaction&)’:
darksend.cpp:978:29: error: cannot convert ‘bool’ to ‘bool*’ in initialization
     bool* pfMissingInputs = false;
                             ^~~~~
makefile.unix:201: recipe for target 'obj/darksend.o' failed
make: *** [obj/darksend.o] Error 1


Has anyone received this error while building 8bitd, and is there a known solution?

Change "bool* pfMissingInputs" to "bool fMissingInputs " in darksend.cpp line 978. On the next line change "pfMissingInputs" to "&fMissingInputs". I could have sent a patch, but I am on a touch screen right now, so... just do manually Smiley

That is just a stupid programming mistake done by the first dev (not 8-bit-party). Your compiler is too clever to digest that stupidity.

This code really needs to be refactored...  Undecided

Should we all apply this patch?

Well, it works somehow with this wrong code. Older compilers are somehow digesting this code, and it looks to be not affecting the functionality (though I didn't test all the features of the wallet).
So it is not a mandatory fix - you need to patch only if it doesn't compile.

... this space is not for rent ...
1714112437
Hero Member
*
Offline Offline

Posts: 1714112437

View Profile Personal Message (Offline)

Ignore
1714112437
Reply with quote  #2

1714112437
Report to moderator
1714112437
Hero Member
*
Offline Offline

Posts: 1714112437

View Profile Personal Message (Offline)

Ignore
1714112437
Reply with quote  #2

1714112437
Report to moderator
I HATE TABLES I HATE TABLES I HA(╯°□°)╯︵ ┻━┻ TABLES I HATE TABLES I HATE TABLES
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714112437
Hero Member
*
Offline Offline

Posts: 1714112437

View Profile Personal Message (Offline)

Ignore
1714112437
Reply with quote  #2

1714112437
Report to moderator
1714112437
Hero Member
*
Offline Offline

Posts: 1714112437

View Profile Personal Message (Offline)

Ignore
1714112437
Reply with quote  #2

1714112437
Report to moderator
1714112437
Hero Member
*
Offline Offline

Posts: 1714112437

View Profile Personal Message (Offline)

Ignore
1714112437
Reply with quote  #2

1714112437
Report to moderator
teosanru
Hero Member
*****
Offline Offline

Activity: 2100
Merit: 618


View Profile
August 17, 2017, 03:27:22 PM
Last edit: August 17, 2017, 03:38:44 PM by teosanru
 #5282

Build has come a lot further along, but now I get this error:

$  make -f makefile.unix&&strip 8bitd&&sudo cp 8bitd /usr/bin
/bin/sh ../share/genbuild.sh obj/build.h
g++ -c -O2  -pthread -Wall -Wextra -Wno-ignored-qualifiers -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -DUSE_SECP256K1 -I/home/r8st/8bit/src -I/home/r8st/8bit/src/obj -DUSE_UPNP=0 -DENABLE_WALLET -I/home/r8st/8bit/src/leveldb/include -I/home/r8st/8bit/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/darksend.d -o obj/darksend.o darksend.cpp
darksend.cpp: In member function ‘bool CDarkSendPool::IsCollateralValid(const CTransaction&)’:
darksend.cpp:978:29: error: cannot convert ‘bool’ to ‘bool*’ in initialization
     bool* pfMissingInputs = false;
                             ^~~~~
makefile.unix:201: recipe for target 'obj/darksend.o' failed
make: *** [obj/darksend.o] Error 1


Has anyone received this error while building 8bitd, and is there a known solution?

Change "bool* pfMissingInputs" to "bool fMissingInputs " in darksend.cpp line 978. On the next line change "pfMissingInputs" to "&fMissingInputs". I could have sent a patch, but I am on a touch screen right now, so... just do manually Smiley

That is just a stupid programming mistake done by the first dev (not 8-bit-party). Your compiler is too clever to digest that stupidity.

This code really needs to be refactored...  Undecided

Should we all apply this patch?

Well, it works somehow with this wrong code. Older compilers are somehow digesting this code, and it looks to be not affecting the functionality (though I didn't test all the features of the wallet).
So it is not a mandatory fix - you need to patch only if it doesn't compile.
I solve it by giving permissions, before the compilation, and compiling without UPNP support, I do not check, compile with UPNP.
And I get that error with the repository that is not in ghitub, while with the ghitub repository there is no such error, the compilation is normal tantu in ubuntu as in debian jessie
vanillagalaxy
Full Member
***
Offline Offline

Activity: 179
Merit: 100


View Profile
August 17, 2017, 03:49:49 PM
 #5283

where can i buy this coin?i don`t see any listed exchange on ann post,thanks.
r8st
Full Member
***
Offline Offline

Activity: 179
Merit: 100



View Profile
August 17, 2017, 04:44:36 PM
 #5284

where can i buy this coin?i don`t see any listed exchange on ann post,thanks.

Cryptopia is one exchange I know of. It was on Bittrex for a bit, then there were wallet/fork issues... hoping that gets resolved.
r8st
Full Member
***
Offline Offline

Activity: 179
Merit: 100



View Profile
August 17, 2017, 04:56:29 PM
 #5285

Yes!

I finally built 8bit-qt on Ubuntu!

I don't understand how some of you have it so easy. I had to go in and debug/rewrite for days to get it working on Ubuntu... it took quite some time.
robert3harrison
Full Member
***
Offline Offline

Activity: 219
Merit: 100


View Profile
August 17, 2017, 05:08:02 PM
 #5286

Hello, I have just arrived. The block explorer & website will return this evening (UTC), I am syncing my nodes finally.


That's great 8-bit-Party!

It would be beneficial if there was standard api access to the block explorer like most have.

There's standard (ABE compatible) API available (coinmarketcap is fully suported).


Could you give an example of say.... how to get the balance of an address?
teosanru
Hero Member
*****
Offline Offline

Activity: 2100
Merit: 618


View Profile
August 17, 2017, 05:10:15 PM
 #5287

Yes!

I finally built 8bit-qt on Ubuntu!

I don't understand how some of you have it so easy. I had to go in and debug/rewrite for days to get it working on Ubuntu... it took quite some time.

What repository did you use for compilation ghitub or other?
r8st
Full Member
***
Offline Offline

Activity: 179
Merit: 100



View Profile
August 17, 2017, 05:20:03 PM
 #5288

Yes!

I finally built 8bit-qt on Ubuntu!

I don't understand how some of you have it so easy. I had to go in and debug/rewrite for days to get it working on Ubuntu... it took quite some time.

What repository did you use for compilation ghitub or other?

ghithub
r8st
Full Member
***
Offline Offline

Activity: 179
Merit: 100



View Profile
August 17, 2017, 05:28:55 PM
 #5289

Question:

How to speed up the synchronization process?

I just downloaded the windows wallet.
=> "Synchronizing with the network... "2years and 13weeks behind"

It takes quite some while !!

I have currently 70 active connections with the 8bit network.

A user posted a snapshot about 4 hours ago, download and replace those files in the wallet folder when roaming if you are on windows
(Prior to this eliminate what is inside 8bit, except for wallet.dat and 8bit.conf)

C: \ Users \ your user \ AppData \ Roaming

It is not recommended to synchronize from scratch or you will get a fork


Thanks for this help.
I followed your steps... now I get this error message, when opening the wallet:

EXCEPTION: St13runtime_error
init_blockindex(): error opening database
environment IO error: C:\...\AppData\Roaming\txleveldb\MANIFEST-9793949: The handle is not valid.

C:\Program Files\...\8bit\8bit-qt.exe in Runaway exception


=> What is required to fix this error message?
=> What needs to be adjusted ?


Thanks for your support!


I do not know if you understood the snapshots of the snapshot you should save them in

C: \ Users \ your user \ AppData \ Roaming \ 8bit \

There only copy this: the folder database, txleveldb and the file blk0001.dat

That error has come out because you use the incomplete path, you must note that the files must go inside the 8bit folder

Romanoff123:

I got this same error in Ubuntu. I quick-fixed it by running 8bit-qt as sudo, ie "sudo ./8bit-qt".

You can also get past this problem in windows by right clicking the executable file and choosing "run as administrator"

Wink

The better solution would be to go in and change the permissions of the newly added blockchain files... but I'm less sure of how to do that in windows.
8-bit-Party
Legendary
*
Offline Offline

Activity: 1036
Merit: 1000

8b 16b DEMOSCENE FTW


View Profile WWW
August 17, 2017, 08:29:24 PM
 #5290

It would be beneficial if there was standard api access to the block explorer like most have.

There's standard (ABE compatible) API available (coinmarketcap is fully suported).


Could you give an example of say.... how to get the balance of an address?

http://explorer.8-bit.ga/chain/BIT8/q/addressbalance/8ZTy8WbdpXEpkzriUpanb3bktW9A8ZvEek

Do not abuse this feature by a flood of automated requests please... ie to get a current snapshot of balances of all address it's better to run a private explorer.

8-BIT PARTY 16-BIT PARTY DEMOSCENE FTW
r8st
Full Member
***
Offline Offline

Activity: 179
Merit: 100



View Profile
August 17, 2017, 08:58:37 PM
Last edit: August 18, 2017, 03:43:26 AM by r8st
 #5291


Is it true that 8bit was the second coin ever to use masternodes?
robert3harrison
Full Member
***
Offline Offline

Activity: 219
Merit: 100


View Profile
August 18, 2017, 04:35:35 AM
 #5292

It would be beneficial if there was standard api access to the block explorer like most have.

There's standard (ABE compatible) API available (coinmarketcap is fully suported).


Could you give an example of say.... how to get the balance of an address?

http://explorer.8-bit.ga/chain/BIT8/q/addressbalance/8ZTy8WbdpXEpkzriUpanb3bktW9A8ZvEek

Do not abuse this feature by a flood of automated requests please... ie to get a current snapshot of balances of all address it's better to run a private explorer.


Thanks, just writing an interface to check my own balances.
northgate
Newbie
*
Offline Offline

Activity: 63
Merit: 0


View Profile
August 18, 2017, 10:06:59 AM
 #5293

Is there any way to speed up the synchronization on linux wallet?
Based on my estimation it will take 10 days to fully synchronize with the network.
It is also using high percentage of CPU ( pushing up to 70-80%).
drays
Legendary
*
Offline Offline

Activity: 2520
Merit: 1073


View Profile
August 18, 2017, 11:39:30 AM
 #5294

Is there any way to speed up the synchronization on linux wallet?
Based on my estimation it will take 10 days to fully synchronize with the network.
It is also using high percentage of CPU ( pushing up to 70-80%).

Snapshot (published few pages back on this thread) is the way... Otherwise you are guaranteed stuck somewhere during synchronisation.

Regarding CPU usage - yes, it is CPU hog. But fixing that issue would need serious investigation to find the reason. Would be nice if someone takes the time to do that... even if this code is going to be replaced at some point.

... this space is not for rent ...
r8st
Full Member
***
Offline Offline

Activity: 179
Merit: 100



View Profile
August 18, 2017, 03:44:56 PM
Last edit: August 18, 2017, 05:15:12 PM by r8st
 #5295

Is there any way to speed up the synchronization on linux wallet?
Based on my estimation it will take 10 days to fully synchronize with the network.
It is also using high percentage of CPU ( pushing up to 70-80%).

Snapshot (published few pages back on this thread) is the way... Otherwise you are guaranteed stuck somewhere during synchronisation.

Regarding CPU usage - yes, it is CPU hog. But fixing that issue would need serious investigation to find the reason. Would be nice if someone takes the time to do that... even if this code is going to be replaced at some point.

Here's a link to latest chain data, provided by Robert3Harrison Aug16th (thanks), in a link that user won't have to install megashare app in order to download... maybe this helps someone.

https://1drv.ms/f/s!AruK78uahXMyitMH8U6ta_3qtv0RmQ

I'm happy to further host any 8bit content, if it were helpful.

I can look into mem issue but don't get hopes up.
drays
Legendary
*
Offline Offline

Activity: 2520
Merit: 1073


View Profile
August 18, 2017, 05:13:18 PM
 #5296


Is it true that 8bit was the second coin ever to use masternodes?

Heh, who remembers..?  Smiley
This coin is pretty old, I don't even remember when I mined it... What I actually remember - is when it was launched, I directed the most of my rigs to Nicehash, to get some immediate profit from the rush (as everybody started to mine it, and hash prices jumped up a lot), but also mined it directly with small portion of rigs. It turned out the profit from directly mining 8bit was much bigger than what I got from Nicehash...

It was a nice launch Smiley, but a lot of time have passed since...

... this space is not for rent ...
2xjO9M3P
Full Member
***
Offline Offline

Activity: 147
Merit: 100


View Profile
August 18, 2017, 07:24:24 PM
 #5297


Is it true that 8bit was the second coin ever to use masternodes?

Heh, who remembers..?  Smiley
This coin is pretty old, I don't even remember when I mined it... What I actually remember - is when it was launched, I directed the most of my rigs to Nicehash, to get some immediate profit from the rush (as everybody started to mine it, and hash prices jumped up a lot), but also mined it directly with small portion of rigs. It turned out the profit from directly mining 8bit was much bigger than what I got from Nicehash...

It was a nice launch Smiley, but a lot of time have passed since...

How come MN payment is only included in some blocks? Is there a way to avoid it?

I'm guessing the latter as I see that 8Tqx3KnhLiF5wTHX918aU5Sjxw73DQ3Uap is pretty good at avoiding it.
e.g. http://explorer.8-bit.ga/block/b8ca0118668957eddda3727816352147193ada29b304b0aa5ce28a85aa72a4bf
8-bit-Party
Legendary
*
Offline Offline

Activity: 1036
Merit: 1000

8b 16b DEMOSCENE FTW


View Profile WWW
August 18, 2017, 09:00:39 PM
 #5298

How come MN payment is only included in some blocks? Is there a way to avoid it?

I'm guessing the latter as I see that 8Tqx3KnhLiF5wTHX918aU5Sjxw73DQ3Uap is pretty good at avoiding it.
e.g. http://explorer.8-bit.ga/block/b8ca0118668957eddda3727816352147193ada29b304b0aa5ce28a85aa72a4bf

There are cheaters on board who abuse not enforced MN payments. I don't know what's the scale of the problem currently, but the best way to minimize profits of cheaters, maximize profits of legitimate users (and actually improve network security ) is to run both staking- and master- nodes.

8-BIT PARTY 16-BIT PARTY DEMOSCENE FTW
cedlemercier
Full Member
***
Offline Offline

Activity: 182
Merit: 100



View Profile
August 18, 2017, 09:17:00 PM
 #5299

8bit not working on my Windows 10.
On Ubuntu, 8bit working well
GREEDYJOHN
Legendary
*
Offline Offline

Activity: 1778
Merit: 1000


View Profile
August 18, 2017, 11:07:21 PM
 #5300

8bit not working on my Windows 10.
On Ubuntu, 8bit working well
We could ask the DEV team to investigate this.

Pages: « 1 ... 215 216 217 218 219 220 221 222 223 224 225 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 »
  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!