Bitcoin Forum
May 03, 2024, 02:45:41 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 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 311 312 313 314 315 316 317 [318] 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 ... 429 »
  Print  
Author Topic: [ANN][HUC] Huntercoin - Worlds First Decentralized Game/World on the Blockchain  (Read 879144 times)
domob
Legendary
*
Offline Offline

Activity: 1135
Merit: 1161


View Profile WWW
February 08, 2015, 05:29:38 PM
 #6341

I've had to remove HUC from my node until I can get a pre-compiled binary to try......anyone?

Or has nobody else been able to compile it on Xubuntu 14.04 64bit either?......

It works without any problems for me on Debian Wheezy.  But I don't know if my binary helps you in any way.  (Not much experience with GNU/Linux binaries, since I either compile from source or use the existing Debian package when available.)

Use your Namecoin identity as OpenID: https://nameid.org/
Donations: 1domobKsPZ5cWk2kXssD8p8ES1qffGUCm | NMC: NCdomobcmcmVdxC5yxMitojQ4tvAtv99pY
BM-GtQnWM3vcdorfqpKXsmfHQ4rVYPG5pKS | GPG 0xA7330737
1714704341
Hero Member
*
Offline Offline

Posts: 1714704341

View Profile Personal Message (Offline)

Ignore
1714704341
Reply with quote  #2

1714704341
Report to moderator
1714704341
Hero Member
*
Offline Offline

Posts: 1714704341

View Profile Personal Message (Offline)

Ignore
1714704341
Reply with quote  #2

1714704341
Report to moderator
1714704341
Hero Member
*
Offline Offline

Posts: 1714704341

View Profile Personal Message (Offline)

Ignore
1714704341
Reply with quote  #2

1714704341
Report to moderator
If you see garbage posts (off-topic, trolling, spam, no point, etc.), use the "report to moderator" links. All reports are investigated, though you will rarely be contacted about your reports.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714704341
Hero Member
*
Offline Offline

Posts: 1714704341

View Profile Personal Message (Offline)

Ignore
1714704341
Reply with quote  #2

1714704341
Report to moderator
1714704341
Hero Member
*
Offline Offline

Posts: 1714704341

View Profile Personal Message (Offline)

Ignore
1714704341
Reply with quote  #2

1714704341
Report to moderator
mullick
Legendary
*
Offline Offline

Activity: 1064
Merit: 1002


View Profile
February 10, 2015, 03:01:20 AM
 #6342

I've had to remove HUC from my node until I can get a pre-compiled binary to try......anyone?

Or has nobody else been able to compile it on Xubuntu 14.04 64bit either?......

What issues are you having compiling it?

Ill take a crack at getting Cryptsy's wallet back online tonight
PatMan
Hero Member
*****
Offline Offline

Activity: 924
Merit: 1000


Watch out for the "Neg-Rep-Dogie-Police".....


View Profile WWW
February 10, 2015, 08:20:32 PM
 #6343

I've had to remove HUC from my node until I can get a pre-compiled binary to try......anyone?

Or has nobody else been able to compile it on Xubuntu 14.04 64bit either?......

What issues are you having compiling it?

Ill take a crack at getting Cryptsy's wallet back online tonight

I have no issues compiling it at all, zero errors - running it is the problem - it keeps throwing me the DB error mentioned earlier....

"When one person is deluded it is called insanity - when many people are deluded it is called religion" - Robert M. Pirsig.  I don't want your coins, I want change.
Amazon UK BTC payment service - https://bitcointalk.org/index.php?topic=301229.0 - with FREE delivery!
http://www.ae911truth.org/ - http://rethink911.org/ - http://rememberbuilding7.org/
PatMan
Hero Member
*****
Offline Offline

Activity: 924
Merit: 1000


Watch out for the "Neg-Rep-Dogie-Police".....


View Profile WWW
February 14, 2015, 12:05:02 AM
 #6344

Hi guys,

Any news on this? I just done a git pull to the latest but the error still remains  Sad

"When one person is deluded it is called insanity - when many people are deluded it is called religion" - Robert M. Pirsig.  I don't want your coins, I want change.
Amazon UK BTC payment service - https://bitcointalk.org/index.php?topic=301229.0 - with FREE delivery!
http://www.ae911truth.org/ - http://rethink911.org/ - http://rememberbuilding7.org/
snailbrain (OP)
Legendary
*
Offline Offline

Activity: 1807
Merit: 1020



View Profile
February 14, 2015, 09:50:38 PM
Last edit: February 15, 2015, 03:20:54 AM by snailbrain
 #6345

Mandatory Update - HardFork Huntercoin v1.2 - Improve PvP & Bot Reduction

Increase General Cost from 10 HUC -> 200 HUC
Increase Carrying Capacity to 2000 HUC
Reduce Heart Spawn to 1/500 Blocks
Reduce Destruct Radius of Generals to 1 Square Radius (same as hunters)
Remove Hearts at Disaster
Reintroduce Spawn Death after 30 Blocks - But, if you die this way, the coins are returned to you in full.
Rename "lost coins" (originally for coins lost when the crown is not being held) to "gamefund" - this can be seen in game_getstate
Add coins on Generals (including cost) who die whilst Poisoned (from Disaster) to "gamefund" instead of dropping on the floor. These coins will be used in a future update - Add to the Crown and into NPCs or by other methods.

Must update before block 590k < 2 weeks  -- (240k on testnet).

Windows Binaries
https://mega.co.nz/#!gF8hVQIB!IklEUCt0RQpu7RHSl4A0I3VYIXDSkDVhRqBIOA7Jr4w
Source
https://github.com/chronokings/huntercoin

fsb4000
Legendary
*
Offline Offline

Activity: 1400
Merit: 1000



View Profile
February 15, 2015, 08:02:31 AM
Last edit: February 15, 2015, 08:35:37 AM by fsb4000
 #6346

Hi guys,

Any news on this? I just done a git pull to the latest but the error still remains  Sad
Hi!
I compiled linux binary(64 bit)(huntercoin-qt): https://yadi.sk/d/RkGoHONvegUwC
PatMan
Hero Member
*****
Offline Offline

Activity: 924
Merit: 1000


Watch out for the "Neg-Rep-Dogie-Police".....


View Profile WWW
February 15, 2015, 11:00:56 AM
 #6347

Hi guys,

Any news on this? I just done a git pull to the latest but the error still remains  Sad
Hi!
I compiled linux binary(64 bit)(huntercoin-qt): https://yadi.sk/d/RkGoHONvegUwC


Hi fsb4000,

Do you also have a compiled & working huntercoin daemon? I don't run the full QT version on my rigs & it's the daemon that is refusing to run, even though it compiles without any errors. I'd really appreciate it if you could do this so I can try it  Wink

Peace  Smiley

"When one person is deluded it is called insanity - when many people are deluded it is called religion" - Robert M. Pirsig.  I don't want your coins, I want change.
Amazon UK BTC payment service - https://bitcointalk.org/index.php?topic=301229.0 - with FREE delivery!
http://www.ae911truth.org/ - http://rethink911.org/ - http://rememberbuilding7.org/
fsb4000
Legendary
*
Offline Offline

Activity: 1400
Merit: 1000



View Profile
February 15, 2015, 12:06:37 PM
Last edit: February 15, 2015, 02:41:23 PM by fsb4000
 #6348

Hi guys,

Any news on this? I just done a git pull to the latest but the error still remains  Sad
Hi!
I compiled linux binary(64 bit)(huntercoin-qt): https://yadi.sk/d/RkGoHONvegUwC


Hi fsb4000,

Do you also have a compiled & working huntercoin daemon? I don't run the full QT version on my rigs & it's the daemon that is refusing to run, even though it compiles without any errors. I'd really appreciate it if you could do this so I can try it  Wink

Peace  Smiley
Yes. I have.
(Don't forget to create huntercoin.conf with rpcuser, rpcpassword, rpcallowip=127.0.0.1 and maybe other parameters)
Huntercoind(64 bits): https://yadi.sk/d/vlfTJasYegew6
PatMan
Hero Member
*****
Offline Offline

Activity: 924
Merit: 1000


Watch out for the "Neg-Rep-Dogie-Police".....


View Profile WWW
February 15, 2015, 02:07:23 PM
 #6349

Hi guys,

Any news on this? I just done a git pull to the latest but the error still remains  Sad
Hi!
I compiled linux binary(64 bit)(huntercoin-qt): https://yadi.sk/d/RkGoHONvegUwC


Hi fsb4000,

Do you also have a compiled & working huntercoin daemon? I don't run the full QT version on my rigs & it's the daemon that is refusing to run, even though it compiles without any errors. I'd really appreciate it if you could do this so I can try it  Wink

Peace  Smiley
Yes. I have.
(Don't forget to create huntercoin.conf with rpcuser, rpcpassword, rpcallowip=127.0.0.1 and maybe other parameters)
Huntercoind: https://yadi.sk/d/vlfTJasYegew6

Aaaand we have a winner!!   Grin

Many thanks fsb4000 - up & running again. It would be great if the devs here would provide links to pre-compiled Linux binaries also, saving all these compilation problems every time a new version is released.

Peace  Smiley

"When one person is deluded it is called insanity - when many people are deluded it is called religion" - Robert M. Pirsig.  I don't want your coins, I want change.
Amazon UK BTC payment service - https://bitcointalk.org/index.php?topic=301229.0 - with FREE delivery!
http://www.ae911truth.org/ - http://rethink911.org/ - http://rememberbuilding7.org/
fsb4000
Legendary
*
Offline Offline

Activity: 1400
Merit: 1000



View Profile
February 15, 2015, 02:35:59 PM
 #6350

Aaaand we have a winner!!   Grin

Many thanks fsb4000 - up & running again. It would be great if the devs here would provide links to pre-compiled Linux binaries also, saving all these compilation problems every time a new version is released.

Peace  Smiley
You're welcome  Wink
fsb4000
Legendary
*
Offline Offline

Activity: 1400
Merit: 1000



View Profile
February 16, 2015, 12:41:28 PM
 #6351

How many people have this problem:
Quote
I lose sync once every day
??
And on what operating system?(Only Windows or Linux + Windows?)
snailbrain (OP)
Legendary
*
Offline Offline

Activity: 1807
Merit: 1020



View Profile
February 16, 2015, 01:41:40 PM
Last edit: February 16, 2015, 10:06:09 PM by snailbrain
 #6352

How many people have this problem:
Quote
I lose sync once every day
??
And on what operating system?(Only Windows or Linux + Windows?)

i leave running 247 on linux (ubuntu) - never lost sync once..

on windows I leave running for a couple of days at a time and no issues... although i do remember in the past having to restart the daemon on windows once or twice (using mm client, but unrelated to that afaik). edit: I think this issue was something to do with name_list bug.. i believe this is fixed now


fsb4000
Legendary
*
Offline Offline

Activity: 1400
Merit: 1000



View Profile
February 17, 2015, 05:18:27 AM
 #6353

I think this issue was something to do with name_list bug.. i believe this is fixed now
Not really
I still have this problem: http://forum.huntercoin.org/index.php/topic,163.0.html
For example, currently sync stopped at "blocks" : 574139

I want to find someone who also has the problem that is easier to understand why it occurs.
On Linux, the client seems to work fine...
snailbrain (OP)
Legendary
*
Offline Offline

Activity: 1807
Merit: 1020



View Profile
February 17, 2015, 08:58:09 AM
 #6354

I think this issue was something to do with name_list bug.. i believe this is fixed now
Not really
I still have this problem: http://forum.huntercoin.org/index.php/topic,163.0.html
For example, currently sync stopped at "blocks" : 574139

I want to find someone who also has the problem that is easier to understand why it occurs.
On Linux, the client seems to work fine...

are you using mm client or just running the daemon and not issuing any commands?

what about debug.log?

MithrilMan
Hero Member
*****
Offline Offline

Activity: 554
Merit: 502

Developer!


View Profile WWW
February 17, 2015, 09:17:49 AM
 #6355

my client shouldn't have nothing to do with the problem, i'm running it without problem since months (using it actually to play not just to leave it open)
however i noticed some problem when calling name_pending command often, sometimes calling it stuck the daemon, i think this has something to do with some deadlock in huntercoind code or something like that, that should be checked extensively (the code contains too much locks around)
(My client doesn't use name_pending automatically, so couldn't trigger this problem neither)

Huntercoin: Mithril Edition - Alternative client for Huntercoin - (Discontinued)
HUC: HMSCYGYJ5wo9FiniVU4pXWGUu8E8PSmoHE  - BTC: 1DKLf1QKAZ5njucq37pZhMRG67qXDP3vPC
rant to people who pretend things for free
snailbrain (OP)
Legendary
*
Offline Offline

Activity: 1807
Merit: 1020



View Profile
February 17, 2015, 09:25:55 AM
 #6356

@FSB

are you issuing any commands like name_pending?
or just leaving it running?

domob
Legendary
*
Offline Offline

Activity: 1135
Merit: 1161


View Profile WWW
February 17, 2015, 10:19:52 AM
 #6357

my client shouldn't have nothing to do with the problem, i'm running it without problem since months (using it actually to play not just to leave it open)
however i noticed some problem when calling name_pending command often, sometimes calling it stuck the daemon, i think this has something to do with some deadlock in huntercoind code or something like that, that should be checked extensively (the code contains too much locks around)
(My client doesn't use name_pending automatically, so couldn't trigger this problem neither)
Yes, there are probably some deadlocks in the code.  If you spot a particular one, please open an issue on Github.  Should be relatively easy to check for correct locking in a particular case (when I know where to look at).

Use your Namecoin identity as OpenID: https://nameid.org/
Donations: 1domobKsPZ5cWk2kXssD8p8ES1qffGUCm | NMC: NCdomobcmcmVdxC5yxMitojQ4tvAtv99pY
BM-GtQnWM3vcdorfqpKXsmfHQ4rVYPG5pKS | GPG 0xA7330737
fsb4000
Legendary
*
Offline Offline

Activity: 1400
Merit: 1000



View Profile
February 17, 2015, 10:32:52 AM
 #6358

@FSB

are you issuing any commands like name_pending?
or just leaving it running?
just leaving it running.
just running the daemon and not issuing any commands.
MithrilMan
Hero Member
*****
Offline Offline

Activity: 554
Merit: 502

Developer!


View Profile WWW
February 17, 2015, 10:41:05 AM
 #6359

my client shouldn't have nothing to do with the problem, i'm running it without problem since months (using it actually to play not just to leave it open)
however i noticed some problem when calling name_pending command often, sometimes calling it stuck the daemon, i think this has something to do with some deadlock in huntercoind code or something like that, that should be checked extensively (the code contains too much locks around)
(My client doesn't use name_pending automatically, so couldn't trigger this problem neither)
Yes, there are probably some deadlocks in the code.  If you spot a particular one, please open an issue on Github.  Should be relatively easy to check for correct locking in a particular case (when I know where to look at).

I just know that looping requests to name_pending cause some locks, so that's the only thing i can say (call to name_pending RPC procedure), i don't have control over the overall huntercoin process and can't debug it
if you try to put a name_pending into a loop every 5 seconds you should notice the problem, maybe you have more chance to debug into the deadlocked code

anyway talking about name_pending and other parts of code that uses many locks, wouldn't be possible to use some backbuffer and flip them when needed? this is what i do in my behaviours when parsing game status and i need to do some time consuming things on that data:

e.g. in your case, when you process a new block and generate a new game_state, you lock everything, preventing all "readonly commands" to be processed, while you could process the new game_status into a back buffer, then once it has been processed, you then apply a lock and swap the new game_state with the old. this isn't the right example, i suppose game_state isn't processed this way, but wanted just to point out the generic problem.

Maybe looking at the code of name_pending would more useful:
i see that you apply this lock:

CRITICAL_BLOCK (cs_mapTransactions)
CRITICAL_BLOCK (cs_main)

and i see that those locks are applied in many transactions, why?
I mean, name_pending just read data, and i think isn't important if data is really updated with ms precision, because being all multithreaded, once it's returned value is used, it could have already been changed, so the lock is only useful to prevent memory faults when reading a memory while it is written, but... why don't just use back buffer here, where the writing processes write on a back buffer then use locks just to swap new data with old one? this would improve drastically the performance of the daemon, reducing a lot deadlocks problems.
I don't know QT and i don't know how it handle multithread arrays, but maybe there is even a way to read from a multithread safe array without even worrying about locks, that are handled internally and are applied only to write (but this is just a guess)

not sure if i explained well what i mean Smiley

Huntercoin: Mithril Edition - Alternative client for Huntercoin - (Discontinued)
HUC: HMSCYGYJ5wo9FiniVU4pXWGUu8E8PSmoHE  - BTC: 1DKLf1QKAZ5njucq37pZhMRG67qXDP3vPC
rant to people who pretend things for free
domob
Legendary
*
Offline Offline

Activity: 1135
Merit: 1161


View Profile WWW
February 17, 2015, 11:22:11 AM
 #6360

Yes, such a caching as you describe is possible.  However, I don't think that's the point of the core daemon.  Instead, such caches (backbuffer, as you call it) can be added by an additional layer in case that's necessary for performance.  I think that the daemon should just handle blocks and transactions and all that robustly, and allow clients to query that data in as simple a way as possible.

That said, of course it should not cause deadlocks.  I've found and fixed some, which were due to inconsistent order of locking when multiple locks were required for some action.  (The ones I've found between cs_main and the wallet lock, mostly.)  Probably the same thing happens with cs_mapTransactions and cs_main.  If I find time, I'll take a look.

Not locking at all seems not like a good idea.  Even though, as you observe, it will "mostly" work if I'm just reading data, one could indeed get into a bad situation while accessing memory that is just being changed (e. g., internally by the stl::map or something).  In the worst case, this could crash the daemon (something like this happened with libcoin due to exactly this reason).  We should not open that can of worms just for perceived "performance optimisation".  If the locking is a performance issue for your calls, you should wrap your own cache around them.  (Or, if it is a common problem for various clients, we could develop a "standard layer" like NMControl for Namecoin - but it should not be part of the core daemon.)

Use your Namecoin identity as OpenID: https://nameid.org/
Donations: 1domobKsPZ5cWk2kXssD8p8ES1qffGUCm | NMC: NCdomobcmcmVdxC5yxMitojQ4tvAtv99pY
BM-GtQnWM3vcdorfqpKXsmfHQ4rVYPG5pKS | GPG 0xA7330737
Pages: « 1 ... 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 311 312 313 314 315 316 317 [318] 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 ... 429 »
  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!