Jump to content

DarkClaw

Sphinx
  • Content Count

    398
  • Joined

  • Last visited

  • Days Won

    34

Everything posted by DarkClaw

  1. I got this error when trying to install on windows 7: The drive or UNC share you selected does not exist I was able to install via command line by navigating to the folder containing the setup.exe and running: TreatFighterSetup-9.exe /DIR="C:\TreatFighter"
  2. DarkClaw

    Xaya Rich List

    The one I show in the rich list is actually the sum of the coins in each address. I also calculate it like this: # Premine: 222,222,222 - 175,839,877.30326 (Burned) premine = 46382344.69674 reward0 = 3.82934346 halving = 4.2e6 reward = reward0/2^floor(height/halving) stage1 = min(440e3 - 1, height) stage2 = ifelse(height < 440e3, 0, height - 440e3 + 1)*reward supply = premine + stage1 + stage2 The two are usually different by 1-2e-7 chi (10-20 chitosi?), I assume due to some floating point error somewhere in the rich list code. EDIT: Looking at it again I see that one will break after the first halving... For the "coin supply" chart on xaya-gaming.net I did this which gives the same answer for current/past blocks: max_ht = 21e6 height = 1:max_ht premine = 46382344.69674 reward0 = 3.82934346 halving = 4.2e6 reward = ifelse(height < 440e3, 1, reward0/2^floor((height + 1)/halving)) supply = premine + cumsum(reward) Just swap out max_ht for the current height. That requires calculating the supply at every height before the current block but it doesn't take too long even for 21 million blocks which should happen some time in ~2038-2039.
  3. Well the first error is here. This returns FALSE/0: size_t blkmk_address_to_script(void *out, size_t outsz, const char *addr) { unsigned char addrbin[25]; unsigned char *cout = out; const size_t b58sz = strlen(addr); int addrver; size_t rv; rv = sizeof(addrbin); if (!b58_sha256_impl) b58_sha256_impl = blkmk_sha256_impl; if (!b58tobin(addrbin, &rv, addr, b58sz)) return 0; addrver = b58check(addrbin, sizeof(addrbin), addr, b58sz); switch (addrver) { case 0: // Bitcoin pubkey hash case 111: // Testnet pubkey hash case(14): /* Feathercoin pubkey hash */ case(27): /* Ufocoin pubkey hash */ case(39): /* Guncoin pubkey hash */ case(40): /* Halcyon pubkey hash */ case(56): /* Phoenixcoin pubkey hash */ case(115): /* Orbitcoin pubkey hash */ if (outsz < (rv = 25)) return rv; cout[ 0] = 0x76; // OP_DUP cout[ 1] = 0xa9; // OP_HASH160 cout[ 2] = 0x14; // push 20 bytes memcpy(&cout[3], &addrbin[1], 20); cout[23] = 0x88; // OP_EQUALVERIFY cout[24] = 0xac; // OP_CHECKSIG return rv; case 5: // Bitcoin script hash case 196: // Testnet script hash if (outsz < (rv = 23)) return rv; cout[ 0] = 0xa9; // OP_HASH160 cout[ 1] = 0x14; // push 20 bytes memcpy(&cout[2], &addrbin[1], 20); cout[22] = 0x87; // OP_EQUAL return rv; default: return 0; } } https://github.com/xaya/nsgminer/blob/xayaswab/libblkmaker/base58.c Why is the bounty only for windows if it does not work on linux either though?
  4. Thanks. No, I hadn't tried that. But now that I did I get the same error: xxx@xxx:~/nsgminer$ nsgminer -o http://127.0.0.1:8396 \ > -u __cookie__ -p pass \ > -I 15 \ > --neoscrypt \ > --xaya-byteswap \ > --coinbase-addr CPGJL8bFpa6UU8xJk6N6qQ9tqty621whcU \ > --coinbase-sig "rig 1" [2019-03-10 20:58:56] nsgminer: --coinbase-addr: Invalid address I am on the latest version: xxx@xxx:~/nsgminer$ git log -1 commit ddf1bb089df357f9842415b6a91d6818988b1415 (HEAD -> xayaswab, origin/xayaswab) Author: Daniel Kraft <d@domob.eu> Date: Mon Jan 28 15:11:51 2019 +0100 Add new option --xaya-byteswap. Add a new option --xaya-byteswap. Together with --neoscrypt algorithm selection, this enables Xaya's variant of NeoScrypt. xxx@xxx:~/nsgminer$ nsgminer -help nsgminer 0.9.4 Built with the GPU mining support. Usage: nsgminer [-DdGEgIKklmpxPQqsTouvwOchnV] Options for both config file and command line: --neoscrypt Use the NeoScrypt algorithm for mining --xaya-byteswap Apply byteswap for Xaya's NeoScrypt [...]
  5. DarkClaw

    Xaya Rich List

    address current first_in last_in first_out last_out note 1 0000000000000000000000000000000000 175,839,877 285,633 318,785 NA NA Burned coins 2 DHy2615XKevE23LVRVZVxGeqxadRGyiFW4 7,680,271 0 338,223 1 338,223 Xaya team: Premine (10% final supply) 3 CH7RjcL2FmF2Tu222abyv1tHx8bSnXH7y1 706,161 287,820 641,218 287,869 633,441 Liquid Exchange: Cold wallet 4 chi1qah5cwrswaufmmutc7eduh453a6cpac5vupwrkd 540,648 285,732 526,960 285,931 526,960 Xaya team: Uncollected presale coins 5 chi1qzpeqgsgcw7q9hrysa89d5u7z56wgs3sg5aj6an 421,249 315,731 656,360 315,854 656,360 Xaya team: Bounty address 6 CeaKMyB2pgPVMwQjnZJKssyXQYACH8NN8x 322,176 537,729 548,807 537,731 548,807 Consolidated ~200k pre-fork CHI (sha256 pool?) 7 chi1qtq0hgadvw69xxyqr4va9ddl5ee9f88frj9s3q5 68,995 338,223 419,954 338,233 419,954 Xaya team: Advisor coins; bitcointalk bounty? 8 CbQngF73wS8yySPra24FD6XsYeJaVoYo8e 2,489 529,761 660,233 530,006 660,067 BSOD pool? 9 CZzZVBqqXvqZTGXr9o3AGYeSZwh49wUDTr 503 231,932 562,884 NA NA Xaya-gaming donations 10 chi1qrws045r7kf4c89v0eapw2ngpqzctfx3dm4xr3q 0 285,517 285,604 285,604 285,633 Xaya team: Originally held HUC airdrop { "t_update": ["2019-03-11 01:02:46"], "block_height": [660233], "n_created": [223505572.627569], "n_premine": [222222222], "n_mined": [1283350.6275695], "n_burned": [175839877.30326], "current_supply": [47665695.3243095], "final_supply": [77303932], "used": [731820], "have_balance": [129001] } address current first_in last_in first_out last_out note 1 0000000000000000000000000000000000 175,839,877 285,633 318,785 NA NA Burned coins 2 DHy2615XKevE23LVRVZVxGeqxadRGyiFW4 7,680,271 0 338,223 1 338,223 Xaya team: Premine (10% final supply) 3 CPR4dDAPSHYWBYr6nZMhoy4prkRA9WZxgf 1,500,001 253,261 277,680 NA NA <NA> 4 CXaB6a5qJ1W18kAn9PD1YbWJ6MXkEzpGLN 1,319,950 320,923 320,923 NA NA <NA> 5 CJwvs9JuqcskANChNinZZWzkcYhp4M2EB5 1,316,850 297,458 297,458 NA NA <NA> 6 CRmn7rBsMg4VDEBu5nbRqwZxmaKj8jfNae 1,100,000 289,047 289,047 NA NA <NA> 7 CM9U2WGYxFuS26uuqGCfJH8HqqEyNnpPvj 900,245 289,047 289,047 NA NA <NA> 8 CPpADzJ1ovr97HvRiQuKk27cXJCjndDayP 888,445 513,345 513,345 NA NA <NA> 9 CHdxYY4V1XkMd6TVSWmYDWvLN231DQzvCu 888,445 526,960 526,960 NA NA <NA> 10 CaS7G5pDmbk2gKeG7GMT7NyoAYQ1xpQ6Xh 799,950 299,111 299,111 NA NA <NA> 11 CXY12KC6xw2SokjUuWFCvJZCXU64Aeoeqc 760,001 45,171 250,608 NA NA <NA> 12 CH7RjcL2FmF2Tu222abyv1tHx8bSnXH7y1 706,161 287,820 641,218 287,869 633,441 Liquid Exchange: Cold wallet 13 CRy3N9y1zXTWqPXXdavYUkL3AJavzbEmpF 618,015 277,669 301,105 NA NA <NA> 14 CNbWcG1JQUvtNdduGG7NArnTTKVtkimD6s 574,048 265,415 271,559 271,555 271,593 <NA> 15 CcmUfvfFhT2RszPoczW4E9reD9EiaFo3zG 568,799 285,604 285,604 NA NA Received HUC airdrop 16 chi1qah5cwrswaufmmutc7eduh453a6cpac5vupwrkd 540,648 285,732 526,960 285,931 526,960 Xaya team: Uncollected presale coins 17 CYJb9Yux2gbZqW5p2cTF65uHjw8BsJv7sd 540,000 289,047 289,047 NA NA <NA> 18 CX4EMTRBgit2xuniS34r1HfVJVZArHgKXn 500,000 45,170 250,522 NA NA <NA> 19 CJqqZ389fB8Vfo83oh3JrfQqYZAgajs9dQ 500,000 289,047 289,047 NA NA <NA> 20 CUWfCyKLvjmPaAKJhr3MmcWNpr9EGvn3CV 463,138 323,851 633,441 NA NA <NA> 21 chi1qzpeqgsgcw7q9hrysa89d5u7z56wgs3sg5aj6an 421,249 315,731 656,360 315,854 656,360 Xaya team: Bounty address 22 CQqsBsYxMocYKWpPJJeskkosoQLqC4eZkt 413,571 555,092 555,092 NA NA <NA> 23 CUq2decAt58qPKnXmZwKmTYQ13LsmFBHLD 411,996 214,333 603,220 236,566 644,220 <NA> 24 CLB6yf9oRjUwLQzXuVGXCZRZfftFZe3D9S 400,101 271,555 627,899 NA NA <NA> 25 CXFGPnGNPao3CpktpMZCnRv6xSdub31XFe 386,520 305,558 338,233 305,570 305,570 <NA> 26 CUya84CkpyjCHwWKicpjmPDshAptSLcDcu 386,520 419,954 419,954 NA NA <NA> 27 CcYSNn4FcQRS6AVN2tmU5jfyfBZgX9tT7o 335,611 353,987 641,218 619,702 619,702 <NA> 28 CeaKMyB2pgPVMwQjnZJKssyXQYACH8NN8x 322,176 537,729 548,807 537,731 548,807 Consolidated ~200k pre-fork CHI (sha256 pool?) 29 chi1qj8szqhkgtsg2le03237kh7tats4m6sd83auz7j 300,000 258,749 277,682 260,921 260,921 <NA> 30 CGZVPvQEiaEivENSkaeGn1UJgmfAnRh9rZ 300,000 642,288 642,288 NA NA <NA> 31 CZCfgCKA91g7Wz5PJivVdPpHrPzSS7VDQC 298,900 301,661 301,661 NA NA <NA> 32 CGuXPEbR4BdMu7LkgD1sUrgE9fqCEGumoR 258,736 91,770 285,931 98,261 98,261 <NA> 33 CMHm4o2QwpjJqq73ptbedm56zseLtL76o7 247,845 301,655 660,067 NA NA <NA> 34 CczKA52iehRT1VKxXB3L8Z1bqcgYKJnbAR 232,300 250,610 250,610 NA NA <NA> 35 CUaq7PGY3yR82Wj1oUQdGY7WmmLmkKy9EW 229,690 289,047 289,047 NA NA <NA> 36 CWbruqMXhRmziY1cmEoY9x1BTztw5VBBag 220,950 45,171 250,566 79,617 79,617 <NA> 37 CU1BaGrq4WsEWWKAViy63pfmeecL6mHcSs 217,121 250,610 315,855 NA NA <NA> 38 CHzeYEwZPFo9Pbcqr3mgWAwCyZWGDkDxRa 211,639 285,604 285,604 NA NA Received HUC airdrop 39 CKiretSQgUkDzA6bmP1RHiNFJefQ4oyUWF 210,041 5,925 285,931 5,930 5,930 <NA> 40 Cbbj48VDARHjsGha4X3csenDJbR6WBm2ZD 207,517 297,178 297,178 NA NA <NA> 41 CSAx2Cbp54jsov29ZPb8WgT6pEr4MFUTxk 205,000 288,851 301,680 NA NA <NA> 42 CaJkj7CyHEh69SkRWbTsTFoS4B3daphktM 200,000 277,672 277,672 NA NA <NA> 43 CRXpTiVpLoVcxTNr9wm7swup7rMv7m71ds 200,000 280,621 280,916 280,892 280,892 <NA> 44 CYfXYrsaxFm1mkns1XjP2W4jG8DMZhx9sZ 200,000 268,149 268,149 NA NA <NA> 45 CT5LGES7UByNLu5JfvCcywmHH3cFLELPCL 200,000 301,687 301,720 NA NA <NA> 46 CWs3PsJgh4HmjZxxbv6uaad8KidpAsm1t7 199,998 268,161 268,161 NA NA <NA> 47 CPPK8kv467Sa2foxLrzxnsj1AVYScFuk8o 199,951 50,636 250,608 50,652 50,652 <NA> 48 CVKJwTHnpGA462DkH4AfxSyAqJSmYFCsJe 196,739 285,604 285,604 NA NA Received HUC airdrop 49 CJZwfDKM84P7kHT5aFhb1TeHSoE18zU8SP 194,900 45,171 553,690 45,308 301,720 <NA> 50 CXEgSZbKhgtcZe3cyapeLtAQ7f2MmpTqzs 191,000 301,105 301,105 NA NA <NA>
  6. Ok, when I changed the intensity to 15 the hashrate increased to something more reasonable: I could do more but also have monitors hooked up to this gpu. So I think it could work if the error setting a payout address is dealt with. I am not sure what would happen if I got a block solomining with no payout address...
  7. There seems to be no interest in this... What if I will buy larger amounts? 100k chi?
  8. I think I got it working in general. Installed like this: # Download newest drivers from AMD # https://www.amd.com/en/support/graphics/radeon-500-series/radeon-rx-500-series/radeon-rx-580 # Instructions: https://www.amd.com/en/support/kb/release-notes/amdgpu-installation cd ~/Downloads tar -Jxvf amdgpu-pro-18.50-725072-ubuntu-18.04.tar.xz cd ~/Downloads/amdgpu-pro-18.50-725072-ubuntu-18.04 # For linux mint I got an "Unsupported OS" error # To fix: Manually change "ubuntu" to "linuxmint" in the just unzipped amdgpu-pro-install file # https://community.amd.com/thread/220723 ./amdgpu-pro-install -y --opencl=legacy,pal # Reboot now # Install nsgminer sudo apt-get install libcurl4-gnutls-dev sudo apt-get install libtool cd ~/ git clone https://github.com/xaya/nsgminer cd ~/nsgminer ./autogen.sh # ./configure # already run by autogen.sh make sudo make install My nsgminer terminal looks like the attached pic (couldn't copy/paste). Meanwhile my xayad terminal looks like this: 2019-03-10T15:07:47Z UpdateTip: new best=9714d6e0128fa2c8300ca68b3c443e75a2cbd434ba2757c6cfe66b887f452f0c height=659106 version=0x20000000 log2_work=84.887458 tx=722553 date='2019-03-10T15:07:35Z' progress=0.999999 cache=0.1MiB(529txo) 2019-03-10T15:08:24Z UpdateTip: new best=64250549563bb9d3abb3fa931a8b92dfb64f8043529b4503f272fdc5e669f112 height=659107 version=0x20000000 log2_work=84.88747 tx=722554 date='2019-03-10T15:07:47Z' progress=0.999998 cache=0.1MiB(530txo) 2019-03-10T15:09:17Z CreateNewBlock(): block weight: 1152 txs: 0 fees: 0 sigops 400 2019-03-10T15:09:17Z [default wallet] keypool reserve 5 2019-03-10T15:09:17Z CreateNewBlock(): block weight: 1288 txs: 0 fees: 0 sigops 400 2019-03-10T15:09:17Z [default wallet] keypool return 5 2019-03-10T15:09:17Z [default wallet] keypool reserve 5 2019-03-10T15:09:17Z [default wallet] keypool return 5 2019-03-10T15:09:17Z [default wallet] keypool reserve 5 2019-03-10T15:09:17Z [default wallet] keypool return 5 2019-03-10T15:09:17Z [default wallet] keypool reserve 5 2019-03-10T15:09:17Z [default wallet] keypool return 5 2019-03-10T15:09:19Z UpdateTip: new best=3b5411d8147333c25432fa57a6c54781b9f59fc4ceb99e9e15cbe474dc4675d2 height=659108 version=0x20000000 log2_work=84.88747 tx=722555 date='2019-03-10T15:08:24Z' progress=0.999997 cache=0.1MiB(531txo) 2019-03-10T15:09:49Z UpdateTip: new best=f43e3afd7bb35649be8430c48a24415fc378d903d9577637a674bf5580965657 height=659109 version=0x20000000 log2_work=84.88748 tx=722556 date='2019-03-10T15:09:19Z' progress=0.999998 cache=0.1MiB(532txo) After I quit I see: xxx@xxx:~/nsgminer$ nsgminer -o http://127.0.0.1:8396 -u __cookie__ -p pass -I d [10:04:23] Summary of runtime statistics: [10:04:23] Started at [2019-03-10 16:00:25] [10:04:23] Pool: http://127.0.0.1:8396 [10:04:23] Run time: 0 hrs 3 mins 58 secs [10:04:23] Average hash rate: 0.0414 MH/s [10:04:23] Solved blocks: 0 [10:04:23] Best share difficulty: 0 [10:04:23] Queued work requests: 9 [10:04:23] Share submissions: 0 [10:04:23] Accepted shares: 0 [10:04:23] Rejected shares: 0 [10:04:23] Accepted diff1 shares: 0 [10:04:23] Rejected diff1 shares: 0 [10:04:23] Hardware errors: 0 [10:04:23] Efficiency (accepted shares * difficulty / 2 KB): 0.00 [10:04:23] Utility (accepted shares / min): 0.00/min [10:04:23] Work Utility (diff1 shares accepted / min): 0.00/min [10:04:23] Discarded work due to new blocks: 2 [10:04:23] Stale submissions discarded due to new blocks: 0 [10:04:23] Unable to get work from server occasions: 0 [10:04:23] Work items generated locally: 0 [10:04:23] Submitting work remotely delay occasions: 0 [10:04:23] New blocks detected on network: 0 [10:04:23] Summary of per device statistics: [10:04:23] OCL0 | 5s: 0.0 avg: 41.4 u: 0.0 KH/s | A:0 R:0 HW:0 WU:0.0/m So it seems to have worked (I also see my GPU temp and fan speed rise), besides the very low hashrate (~ 40 KH/s). However, if I try to set a payout address I get an error: xxx@xxx:~/nsgminer$ nsgminer -o http://127.0.0.1:8396 -u __cookie__ -p pass -I d \ > --coinbase-addr CPGJL8bFpa6UU8xJk6N6qQ9tqty621whcU \ > --coinbase-sig "rig 1" [2019-03-10 10:06:59] nsgminer: --coinbase-addr: Invalid address I see that error message is issued here in nsgminer/miner.c: #if BLKMAKER_VERSION > 1 static char *set_b58addr(const char *arg, struct _cbscript_t *p) { size_t scriptsz = blkmk_address_to_script(NULL, 0, arg); if (!scriptsz) return "Invalid address"; char *script = malloc(scriptsz); if (blkmk_address_to_script(script, scriptsz, arg) != scriptsz) { free(script); return "Failed to convert address to script"; } p->data = script; p->sz = scriptsz; return NULL; } #endif Then blkmk_address_to_script has different cases for various coins (feathercoin, Ufocoin, etc). Any ideas?
  9. I have a RX580 I could try, but I have an issue with the first step. The nsgminer readme says I need to install AMD APP SDK, but the page is dead: https://github.com/xaya/nsgminer
  10. Thanks. Have you tried nsgminer on linux?
  11. I am thinking of getting a Radeon VII for other reasons but could mine Xaya a bit with it as well. I looked around the forum and am still not sure about the current status of AMD mining. Is there even a working AMD miner for xaya at this point? Is anyone mining with a Radeon VII yet? If so, could you tell me what hashrate you get?
  12. Cool. But it doesn't seem like they have an API for accessing the trade data and order book? Does one appear if you log in? Also, this exchange seems even smaller than liquid. The more the merrier though.
  13. It was a little confusing but after figuring out the hello world I was able to make a move in mover without too much trouble: https://explorer.xaya.io/tx/97cc53c8ae4f55e2bcd30059bdee4bab25d473b0b583b39b5acf0fc621d2207e Here is what I eventually ran: xaya-cli name_update "p/tf101" "{\"g\":{\"mv\":{\"d\":\"u\", \"n\":1}}}" Basically I needed to look at the C# tutorial to see the right format. I wasted some time with having an extra nested "m" level which I thought always needed to be present for "moves", then passing the 1 as a string. That example should probably be in the readme since I didn't think to look in a C# tutorial to just run some terminal commands. Not a big deal though.
  14. So to summarize in one post: 1) Build & Install gtest For some reason export GTEST_CFLAGS and GTEST_LIBS weren't being written/read to ./profile. It looks like they were written though since here is what mine currently looks like: export GTEST_CFLAGS="/usr/src/gtest" export GTEST_LIBS="/usr/src/gtest" export GTEST_CFLAGS="/usr/src/gtest" export GTEST_LIBS="/usr/src/gtest" export GTEST_CFLAGS="/usr/src/gtest" export GTEST_LIBS="/usr/src/gtest" Anyway, this worked: cd /usr/src/gtest sudo cmake CMakeLists.txt sudo make -j2 sudo cp *.a /usr/lib export GTEST_CFLAGS="/usr/src/gtest" export GTEST_LIBS="/usr/src/gtest" echo 'export GTEST_CFLAGS="/usr/src/gtest"' >> ~/.profile echo 'export GTEST_LIBS="/usr/src/gtest"' >> ~/.profile export GTEST_CFLAGS="/usr/src/gtest" export GTEST_LIBS="/usr/src/gtest" 2) Build & Install protobuf The directory created did not include "-cpp" in the name, and I needed to run ldconfig at the end (maybe make and make install can be skipped?): cd ~/ wget https://github.com/protocolbuffers/protobuf/releases/download/v3.7.0-rc.3/protobuf-cpp-3.7.0-rc-3.zip unzip protobuf-cpp-3.7.0-rc-3.zip cd ~/protobuf-3.7.0-rc-3 ./configure make sudo make install sudo ldconfig 3) See What People Are Saying with GetCurrentState There was a stray quote before content-type: curl --data-binary '{"jsonrpc": "2.0", "id":"curltest", "method": "getcurrentstate"}" -H content-type: text/plain;' http://127.0.0.1:29050/ 4) Time to make your move I needed to remove the exclamation point: xaya-cli name_update "p/tf101" "{\"g\":{\"helloworld\":{\"m\":\"Hello World\"}}}" Hope that helps. Feel free to reward chi for bug testing the docs: CKHuNvPg7hB72R4npYyNHBSr3wSnSuyxFS
  15. Ok, got it working: https://explorer.xaya.io/tx/c003273f60aeae5efa05f4c9a9c697874a907de5d57a79cc2f281c8beef8af4a I did have a problem here though: xaya-cli name_update "p/tf101" "{\"g\":{\"helloworld\":{\"m\":\"Hello World!\"}}}" bash: !\: event not found That exclamation point needs to be escaped or something for me. In my case I just removed it.
  16. Ok, it looks like helloworld is running (where "pass" is whatever is in the .cookie file): xxx@xxx:/media/xxx/extA/xaya/Games/Linux/HelloWorld$ ./hello --xaya_rpc_url="http://__cookie__:pass@127.0.0.1:8396" --game_rpc_port=29050 --storage_type=memory --datadir=/tmp/xayagame ALICE said "HELLO WORLD!" ALICE said "Hello world!" Crawling Chaos said "...Hello, ALICE!" BOB said "HELLO WORLD!" ALICE said "Hello everybody!" Wile E. Coyote said "Hello Road Runner!" ALICE said "Hello everyone!" ALICE said "Yo! WAZZUP?!?" ALICE said "" Alice in Wonderland said "Hello World!" Alice in Wonderland said "Hello Wonderland!" But my attempt to read the gamestate came back empty: xxx@xxx:~$ curl --data-binary '{"jsonrpc": "2.0", "id":"curltest", "method": "getcurrentstate"}" -H 'content-type: text/plain;' http://127.0.0.1:29050/ > Or is it that there is an unclosed quote or something? Yes, this works: xxx@xxx:/media/xxx/extA/xaya/Games/Linux/HelloWorld$ curl --data-binary '{"jsonrpc": "2.0", "id":"curltest", "method": "getcurrentstate"}" -H content-type: text/plain;' http://127.0.0.1:29050/ {"id":"curltest","jsonrpc":"2.0","result":{"blockhash":"fac1a755cf18458da113e43ee3e7134e46d75bcf033b6229e1e9632e258b7c67","chain":"main","gameid":"helloworld","gamestate":{"ALICE":"","Alice in Wonderland":"Hello Wonderland!","BOB":"HELLO WORLD!","Crawling Chaos":"...Hello, ALICE!","Wile E. Coyote":"Hello Road Runner!"},"height":653850,"state":"up-to-date"}} There is a stray quote before content-type.
  17. I believe so. I had to use the "troubleshooting" instructions to build the hello world: xxx@xxx:/media/xxx/extA/xaya/Games/Linux/HelloWorld$ ./build.sh /bin/sh: 0: Illegal option - xxx@xxx:/media/xxx/extA/xaya/Games/Linux/HelloWorld$ packages="libxayagame jsoncpp libglog gflags libzmq openssl" xxx@xxx:/media/xxx/extA/xaya/Games/Linux/HelloWorld$ g++ hello.cpp -o hello -Wall -Werror -pedantic -std=c++14 -DGLOG_NO_ABBREVIATED_SEVERITIES `pkg-config --cflags ${packages}` `pkg-config --libs ${packages}` -pthread -lstdc++fs xxx@xxx:/media/xxx/extA/xaya/Games/Linux/HelloWorld$ I should get it running in a bit and will let you know. Currently just did this: xxx@xxx:/media/xxx/extA/xaya/Games/Linux/HelloWorld$ ./hello Error: --xaya_rpc_url must be set
  18. It said I already had the latest version for both, so doesn't help my case. This seems to have worked (do not see any errors), except as mentioned earlier my protobuf directory is called: "~/protobuf-3.7.0-rc-3" (no -cpp as it is in the docs). Btw, I noticed this warning: xxx@xxx:~/protobuf-3.7.0-rc-3$ sudo make install [...] libtool: warning: relinking 'libprotoc.la'
  19. Progress, but now I get this error when running make: Making all in mover make[2]: Entering directory '/home/xxx/libxayagame/mover' protoc --cpp_out=. "proto/mover.proto" protoc: error while loading shared libraries: libprotoc.so.18: cannot open shared object file: No such file or directory Makefile:1327: recipe for target 'proto/mover.pb.h' failed make[2]: *** [proto/mover.pb.h] Error 127
  20. xxx@xxx:~$ echo $GTEST_CFLAGS xxx@xxx:~$ cd /usr/src/gtest xxx@xxx:/usr/src/gtest$ echo $GTEST_CFLAGS xxx@xxx:/usr/src/gtest$ echo $GTEST_LIBS It returns nothing, an empty string I guess. I will try to reboot later.
  21. I had a problem here: cd ~/ wget https://github.com/protocolbuffers/protobuf/releases/download/v3.7.0-rc.3/protobuf-cpp-3.7.0-rc-3.zip unzip protobuf-cpp-3.7.0-rc-3.zip cd ~/protobuf-cpp-3.7.0-rc-3 ./configure make sudo make install https://github.com/xaya/xaya_tutorials/wiki/How-to-Compile-libxayagame-in-Ubuntu-short I needed to change it to this (remove "-cpp" in the fourth line): cd ~/ wget https://github.com/protocolbuffers/protobuf/releases/download/v3.7.0-rc.3/protobuf-cpp-3.7.0-rc-3.zip unzip protobuf-cpp-3.7.0-rc-3.zip cd ~/protobuf-3.7.0-rc-3 ./configure make sudo make install Then I got this error: xxx@xxx:~$ git clone https://github.com/xaya/libxayagame.git Cloning into 'libxayagame'... remote: Enumerating objects: 70, done. remote: Counting objects: 100% (70/70), done. remote: Compressing objects: 100% (55/55), done. remote: Total 967 (delta 33), reused 35 (delta 15), pack-reused 897 Receiving objects: 100% (967/967), 408.44 KiB | 567.00 KiB/s, done. Resolving deltas: 100% (666/666), done. xxx@xxx:~$ cd ~/libxayagame/ xxx@xxx:~/libxayagame$ ./autogen.sh libtoolize: putting auxiliary files in '.'. libtoolize: linking file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: linking file 'm4/libtool.m4' libtoolize: linking file 'm4/ltoptions.m4' libtoolize: linking file 'm4/ltsugar.m4' libtoolize: linking file 'm4/ltversion.m4' libtoolize: linking file 'm4/lt~obsolete.m4' libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' configure.ac:8: installing './ar-lib' configure.ac:8: installing './compile' configure.ac:13: installing './config.guess' configure.ac:13: installing './config.sub' configure.ac:2: installing './install-sh' configure.ac:2: installing './missing' Makefile.am: installing './INSTALL' mover/Makefile.am:16: warning: source file 'proto/mover.pb.cc' is in a subdirectory, mover/Makefile.am:16: but option 'subdir-objects' is disabled automake: warning: possible forward-incompatibility. automake: At least a source file is in a subdirectory, but the 'subdir-objects' automake: automake option hasn't been enabled. For now, the corresponding output automake: object file(s) will be placed in the top-level directory. However, automake: this behaviour will change in future Automake versions: they will automake: unconditionally cause object files to be placed in the same subdirectory automake: of the corresponding sources. automake: You are advised to start using 'subdir-objects' option throughout your automake: project, to avoid future incompatibilities. mover/Makefile.am: installing './depcomp' parallel-tests: installing './test-driver' xayagametest/Makefile.am:2: installing './py-compile' xxx@xxx:~/libxayagame$ ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for g++... g++ checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for style of include used by make... GNU checking dependency style of g++... gcc3 checking for gcc... gcc checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... gcc3 checking for ar... ar checking the archiver (ar) interface... ar checking for python... /usr/bin/python checking for python version... 2.7 checking for python platform... linux2 checking for python script directory... ${prefix}/lib/python2.7/dist-packages checking for python extension module directory... ${exec_prefix}/lib/python2.7/dist-packages checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for mt... mt checking if mt is a manifest tool... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether g++ supports C++14 features by default... yes checking whether C++ compiler accepts -Wall... yes checking whether C++ compiler accepts -Werror... yes checking whether C++ compiler accepts -pedantic... yes checking whether C++ compiler accepts -Wno-deprecated... yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for JSONCPP... yes checking for JSONRPCCLIENT... yes checking for JSONRPCSERVER... yes checking for SQLITE3... yes checking for LMDB... yes checking for GLOG... yes checking for OPENSSL... yes checking for ZMQ... yes checking for GFLAGS... yes checking for GTEST... no configure: error: Package requirements (gmock gtest_main) were not met: No package 'gmock' found No package 'gtest_main' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables GTEST_CFLAGS and GTEST_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. The (run earlier) gtest install didn't report any problems: xxx@xxx:~$ cd /usr/src/gtest xxx@xxx:/usr/src/gtest$ sudo cmake CMakeLists.txt [sudo] password for xxx: -- Configuring done -- Generating done -- Build files have been written to: /usr/src/googletest/googletest xxx@xxx:/usr/src/gtest$ sudo make -j2 [ 50%] Built target gtest [100%] Built target gtest_main xxx@xxx:/usr/src/gtest$ sudo cp *.a /usr/lib xxx@xxx:/usr/src/gtest$ export GTEST_CFLAGS="/usr/src/gtest" xxx@xxx:/usr/src/gtest$ export GTEST_LIBS="/usr/src/gtest" xxx@xxx:/usr/src/gtest$ echo 'export GTEST_CFLAGS="/usr/src/gtest"' >> ~/.profile xxx@xxx:/usr/src/gtest$ echo 'export GTEST_LIBS="/usr/src/gtest"' >> ~/.profile
  22. That was empty by default for me though.
  23. Which is the default port? 2855 or 28332? And I think there should be a default xaya.conf that includes all these then, you don't want people getting strange half-working behaviour I just experienced. In case it helps anyone, mine looks like: server = 1 rpcallowip = 127.0.0.1 zmqpubhashtx = tcp://127.0.0.1:28332 zmqpubhashblock = tcp://127.0.0.1:28332 zmqpubrawblock = tcp://127.0.0.1:28332 zmqpubrawtx = tcp://127.0.0.1:28332 zmqpubgameblocks = tcp://127.0.0.1:28332
  24. It could be related to the new low fees on poloniex: https://poloniex.com/fees/ It was up a day early in that case though.
  25. I only have the daemon running at the moment, but the map shows players moving around (just add an exception for the certificate. I made a post in the other thread about that): https://www.huntercoin.info/explorer
×
×
  • Create New...

Important Information

Your use of this site is governed by our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.