Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Bitshiz

Pages: 1 [2] 3
16
Bump.

just wondered the same.

guessing no since you have 0 replies.

17
General Discussion / BCH or BCC in dex?
« on: August 22, 2017, 03:20:41 pm »
Do we have Bitcoin cash in the dex yet? I'd like to trade it on a non-centralized exchange.

18
Instructions for the novice Windows user:

You will need to download nodejs, git, and Python 3 first and foremost.

  • Open a command prompt by typing "cmd" in your windows search in the start menu
  • Clone the graphene-ui repoby typing "git clone https://github.com/cryptonomex/graphene-ui.git" in the cmd window. (remember that what ever directory/file location is showing on the prompt is where the graphen-ui download will be located
  • Now change the directory to the graphene-ui file location, type
Code: [Select]
cd C:\your\file\location\graphene-ui\bloom_filter
  • then type
Code: [Select]
npm install
  • Now find the wallet file you downloaded from Bitshares 0.93 and change the wallet name to
Code: [Select]
wallet.json
  • Copy the newly named wallet.json file
  • open the graphene-ui file location (the actual file, not in the cmd). Then open the "bloom_filter" file and paste the new wallet.json file inside
  • Go back to the command prompt and type
Code: [Select]
npm run start-windows

    In the cmd window you will see it start to run and depending on how many keys you have it could take a little while. Also you should see the sha 1 sum at the beginning too (3cee441d8d28.......)
    When it is finished you will have the a file with only the necessary keys linked to accounts and balances.

    The new key file is in the graphene-ui/bloom_filter file and it is called
    Code: [Select]
    filtered_wallet.json
    This just worked for me again to make sure my directions were correct. Unless someone changes things in the graphene-ui file you download from git.

    20
    Well I just got this error now:
    Quote
    C:\Users\skysc\graphene-ui\bloom_filter>npm run start-windows

    > bitshares-keys-bloom-filter@1.0.0 start-windows C:\Users\skysc\graphene-ui\bloom_filter
    > type wallet.json | node bloom_filter_wallet.js > filtered_wallet.json

    bloom_bitshares.dat (1048576 bytes) sha1 3cee441d8d28ab3b26aea149630fa2a96a91845c

    C:\Users\skysc\graphene-ui\bloom_filter\bloom_filter_wallet.js:59
            var inputJSON = inputChunks.join("")
                                        ^

    RangeError: Invalid string length
        at Array.join (native)
        at Socket.<anonymous> (C:\Users\skysc\graphene-ui\bloom_filter\bloom_filter_wallet.js:59:37)
        at emitNone (events.js:91:20)
        at Socket.emit (events.js:185:7)
        at endReadableNT (_stream_readable.js:974:12)
        at _combinedTickCallback (internal/process/next_tick.js:74:11)
        at process._tickCallback (internal/process/next_tick.js:98:9)

    npm ERR! Windows_NT 10.0.14393
    npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "start-windows"
    npm ERR! node v6.9.4
    npm ERR! npm  v3.10.10
    npm ERR! code ELIFECYCLE
    npm ERR! bitshares-keys-bloom-filter@1.0.0 start-windows: `type wallet.json | node bloom_filter_wallet.js > filtered_wallet.json`
    npm ERR! Exit status 1
    npm ERR!
    npm ERR! Failed at the bitshares-keys-bloom-filter@1.0.0 start-windows script 'type wallet.json | node bloom_filter_wallet.js > filtered_wallet.json'.
    npm ERR! Make sure you have the latest version of node.js and npm installed.
    npm ERR! If you do, this is most likely a problem with the bitshares-keys-bloom-filter package,
    npm ERR! not with npm itself.
    npm ERR! Tell the author that this fails on your system:
    npm ERR!     type wallet.json | node bloom_filter_wallet.js > filtered_wallet.json
    npm ERR! You can get information on how to open an issue for this project with:
    npm ERR!     npm bugs bitshares-keys-bloom-filter
    npm ERR! Or if that isn't available, you can get their info via:
    npm ERR!     npm owner ls bitshares-keys-bloom-filter
    npm ERR! There is likely additional logging output above.

    npm ERR! Please include the following file with any support request:
    npm ERR!     C:\Users\skysc\graphene-ui\bloom_filter\npm-debug.log



    I deleted graphene-ui and cloned it again before I ran this. I then ran "npm install" and copied my wallet.json(I changed the name to wallet.json) file to the bloom_filter folder.

    I figured it out! Kind of. My json file is over a 1,013,686KB. So it is too big of a json file. I tried on another wallet file that is only 90,252KB and it is working. Is there any way to get this to work on a larger file? I don't think I am missing any balances but just curious what the limit or why there would be a limit on the json file size?

    Quote
    kept 2099 of 534165 keys

    kept 2102 of 534168 keys

    kept 2103 of 534169 keys
    Thanks @svk 

    21
    Any help with this error. I cant upload my .json to the web client because I have too many keys and it crashes every fucking time. been trying to access my BTS for over a year and finally tried this manual but am getting this error. ANyone know what this is? And how to fix? This happens after I run
    Code: [Select]
    OLD_WALLET_NAME.json | node ./bloom_filter_wallet.js > NEW_WALLET_NAME.json but with my wallet names. Doing this through windows 10 64 and I have downloaded everything this tutorial says.


    Code: [Select]
    module.js:471
        throw err;
        ^

    Error: Cannot find module '../web/lib/common/hash'
        at Function.Module._resolveFilename (module.js:469:15)
        at Function.Module._load (module.js:417:25)
        at Module.require (module.js:497:17)
        at require (internal/module.js:20:19)
        at Object.<anonymous> (C:\Users\skysc\graphene-ui\programs\bloom_filter_wallet.js:20:9)
        at Module._compile (module.js:570:32)
        at Object.Module._extensions..js (module.js:579:10)
        at Module.load (module.js:487:32)
        at tryModuleLoad (module.js:446:12)
        at Function.Module._load (module.js:438:3)
        at Module.runMain (module.js:604:10)
        at run (bootstrap_node.js:394:7)
        at startup (bootstrap_node.js:149:9)
        at bootstrap_node.js:509:3

    Ok I had a look and it was indeed trying to load modules that no longer exist. I pushed an update and also included a bloom_bitshares.dat file that you can use if don't want to compile your own.

    To run the filter now, just go to the "bloom_filter" folder, run "npm i" to get the dependencies, name your old wallet file "wallet.json" then  do "npm start". The output will be in a file called "filtered_wallet.json"

    I didn't have an old wallet.json file to test it with so the npm start method might not work properly, if so just run it manually like the original instructions said.

    so I tried it and got this error because of the 'cat' command:
    Code: [Select]
    'cat' is not recognized as an internal or external command,
    operable program or batch file.

    npm ERR! Windows_NT 10.0.14393
    npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "start"
    npm ERR! node v6.9.4
    npm ERR! npm  v3.10.10
    npm ERR! code ELIFECYCLE
    npm ERR! bitshares-keys-bloom-filter@1.0.0 start: `cat wallet.json | node bloom_filter_wallet.js > filtered_wallet.json`
    npm ERR! Exit status 255
    npm ERR!
    npm ERR! Failed at the bitshares-keys-bloom-filter@1.0.0 start script 'cat wallet.json | node bloom_filter_wallet.js > filtered_wallet.json'.
    npm ERR! Make sure you have the latest version of node.js and npm installed.
    npm ERR! If you do, this is most likely a problem with the bitshares-keys-bloom-filter package,
    npm ERR! not with npm itself.
    npm ERR! Tell the author that this fails on your system:
    npm ERR!     cat wallet.json | node bloom_filter_wallet.js > filtered_wallet.json
    npm ERR! You can get information on how to open an issue for this project with:
    npm ERR!     npm bugs bitshares-keys-bloom-filter
    npm ERR! Or if that isn't available, you can get their info via:
    npm ERR!     npm owner ls bitshares-keys-bloom-filter
    npm ERR! There is likely additional logging output above.

    npm ERR! Please include the following file with any support request:
    npm ERR!     C:\Users\skysc\graphene-ui\bloom_filter\npm-debug.log

    C:\Users\skysc\graphene-ui\bloom_filter>

    I then tried to follow instructions from the original post and got error:

    Code: [Select]
    C:\Users\skysc\graphene-ui\bloom_filter>wallet.json | node ./bloom_filter_wallet.js > filtered_wallet.json'
    C:\Users\skysc\graphene-ui\bloom_filter\bloom_filter_wallet.js:29
        if (err) throw err
                 ^

    Error: ENOENT: no such file or directory, open 'C:\Users\skysc\graphene-ui\bloom_filter\bloom.dat'
        at Error (native)


    So then i decided to switch out my original bloom.dat file I created yesterday instaed of using the bloom_bitshares.dat and then got this error:

    Code: [Select]
    C:\Users\skysc\graphene-ui\bloom_filter>wallet.json | node ./bloom_filter_wallet.js > filtered_wallet.json
    bloom_bitshares.dat (1048576 bytes) sha

    undefined:1



    SyntaxError: Unexpected end of JSON input
        at Object.parse (native)
        at Socket.<anonymous> (C:\Users\skysc\graphene-ui\bloom_filter\bloom_filter_wallet.js:59:27)
        at emitNone (events.js:91:20)
        at Socket.emit (events.js:185:7)
        at endReadableNT (_stream_readable.js:974:12)
        at _combinedTickCallback (internal/process/next_tick.js:74:11)
        at process._tickCallback (internal/process/next_tick.js:98:9)

    22
    Any help with this error. I cant upload my .json to the web client because I have too many keys and it crashes every fucking time. been trying to access my BTS for over a year and finally tried this manual but am getting this error. ANyone know what this is? And how to fix? This happens after I run
    Code: [Select]
    OLD_WALLET_NAME.json | node ./bloom_filter_wallet.js > NEW_WALLET_NAME.json but with my wallet names. Doing this through windows 10 64 and I have downloaded everything this tutorial says.


    Code: [Select]
    module.js:471
        throw err;
        ^

    Error: Cannot find module '../web/lib/common/hash'
        at Function.Module._resolveFilename (module.js:469:15)
        at Function.Module._load (module.js:417:25)
        at Module.require (module.js:497:17)
        at require (internal/module.js:20:19)
        at Object.<anonymous> (C:\Users\skysc\graphene-ui\programs\bloom_filter_wallet.js:20:9)
        at Module._compile (module.js:570:32)
        at Object.Module._extensions..js (module.js:579:10)
        at Module.load (module.js:487:32)
        at tryModuleLoad (module.js:446:12)
        at Function.Module._load (module.js:438:3)
        at Module.runMain (module.js:604:10)
        at run (bootstrap_node.js:394:7)
        at startup (bootstrap_node.js:149:9)
        at bootstrap_node.js:509:3

    Ok I had a look and it was indeed trying to load modules that no longer exist. I pushed an update and also included a bloom_bitshares.dat file that you can use if don't want to compile your own.

    To run the filter now, just go to the "bloom_filter" folder, run "npm i" to get the dependencies, name your old wallet file "wallet.json" then  do "npm start". The output will be in a file called "filtered_wallet.json"

    I didn't have an old wallet.json file to test it with so the npm start method might not work properly, if so just run it manually like the original instructions said.
    Thank you! I will try it today.

    23
    Any help with this error. I cant upload my .json to the web client because I have too many keys and it crashes every fucking time. been trying to access my BTS for over a year and finally tried this manual but am getting this error. ANyone know what this is? And how to fix? This happens after I run
    Code: [Select]
    OLD_WALLET_NAME.json | node ./bloom_filter_wallet.js > NEW_WALLET_NAME.json but with my wallet names. Doing this through windows 10 64 and I have downloaded everything this tutorial says.


    Code: [Select]
    module.js:471
        throw err;
        ^

    Error: Cannot find module '../web/lib/common/hash'
        at Function.Module._resolveFilename (module.js:469:15)
        at Function.Module._load (module.js:417:25)
        at Module.require (module.js:497:17)
        at require (internal/module.js:20:19)
        at Object.<anonymous> (C:\Users\skysc\graphene-ui\programs\bloom_filter_wallet.js:20:9)
        at Module._compile (module.js:570:32)
        at Object.Module._extensions..js (module.js:579:10)
        at Module.load (module.js:487:32)
        at tryModuleLoad (module.js:446:12)
        at Function.Module._load (module.js:438:3)
        at Module.runMain (module.js:604:10)
        at run (bootstrap_node.js:394:7)
        at startup (bootstrap_node.js:149:9)
        at bootstrap_node.js:509:3

    Like Chris mentioned you could try the light wallet as it includes the bloom filter directly, as does https://bitshares.org/wallet I believe.

    The bloom filter program in the graphene-ui repo is probably out of sync with the location of files in the repo right now after I moved a lot of things around, I'll have a look and update it if necessary.
    The light wallet crashes every time I try to load it. I suspect it is because my account has so many keys as in BTSX I was trading every day, many trades a day. I also have about 35 accounts but only used probably 4 of them although I did send small amounts to about 10  others out of the 35. The wallet file I am trying to import only had 3 acounts attached and is 1,013,686 KB, so it is a large json file. But every time i try to load it into the light client, after about 10 minutes the entire screen goes white. I have smaller wallet files with more accounts because it was before I regenerated many keys and when I load those it will eventually list all my accounts in the light client but when I hit claim balances, after an hour or more the client freezes up too.

    24
    Any help with this error. I cant upload my .json to the web client because I have too many keys and it crashes every fucking time. been trying to access my BTS for over a year and finally tried this manual but am getting this error. ANyone know what this is? And how to fix? This happens after I run
    Code: [Select]
    OLD_WALLET_NAME.json | node ./bloom_filter_wallet.js > NEW_WALLET_NAME.json but with my wallet names. Doing this through windows 10 64 and I have downloaded everything this tutorial says.


    Code: [Select]
    module.js:471
        throw err;
        ^

    Error: Cannot find module '../web/lib/common/hash'
        at Function.Module._resolveFilename (module.js:469:15)
        at Function.Module._load (module.js:417:25)
        at Module.require (module.js:497:17)
        at require (internal/module.js:20:19)
        at Object.<anonymous> (C:\Users\skysc\graphene-ui\programs\bloom_filter_wallet.js:20:9)
        at Module._compile (module.js:570:32)
        at Object.Module._extensions..js (module.js:579:10)
        at Module.load (module.js:487:32)
        at tryModuleLoad (module.js:446:12)
        at Function.Module._load (module.js:438:3)
        at Module.runMain (module.js:604:10)
        at run (bootstrap_node.js:394:7)
        at startup (bootstrap_node.js:149:9)
        at bootstrap_node.js:509:3

    25
    Technical Support / Re: Importing bts 1.0 to 2.0
    « on: September 16, 2016, 07:43:54 pm »
    Are you on Windows? There is a known bug and you can't import .json. I switched to Ubuntu and then it worked.
    Did you go through this guide.
    http://docs.bitshares.eu/bitshares/migration/howto-importing-wallet.html#

    I know that it's frustrating! It took me many hours to get it to work!

    yes I am on Windows. I dont know ubuntu or linux. Launched an amazon server for ubuntu and once I got it up and running its was basically like a cmd window and I have no idea where to go or what to do once there. So I guess I am screwed.

    26
    Technical Support / Re: Importing bts 1.0 to 2.0
    « on: September 15, 2016, 02:45:50 am »
    quote author=cusknee link=topic=23315.msg299043#msg299043 date=1473878570]
    You cannot import a .json file into 2.0 It needs to be a .bin file.
    [/quote]

    Really? because it says you can in the client...

    http://imgur.com/a/sCXU3

    27
    Technical Support / Re: Importing bts 1.0 to 2.0
    « on: September 14, 2016, 05:44:08 pm »
    Well everything keeps freezing up when it says its looking for unclaimed balances. The screen goes white and stays white.

    So I decided to try and import one account at a time. Deleted my wallet.dat from bts1 and re-imported my one main account key back into bts1 and linked all my btc and pts keys to it. I regenerated 500K keys and am trying to import that account. It now says I have 1.5 million keys linked to my one account and it is stuck on the part that says its looking for unclaimed balances for 4 hours now.

    28
    Technical Support / Re: Importing bts 1.0 to 2.0
    « on: September 13, 2016, 10:10:35 pm »
    Still keeps freezing up. Fuck this is frustrating. Only about half my accounts show up before the pages or client freezes. I have tried the wallet in the light client, Openledger, and bitshares.org wallet. The client is the only one that even shows me that something is happening. openledger and bitshare.org are just spinning once I type my wallet passphrase in. One account of mine shows it has over 430K keys alone. No wonder people have stopped using this. It seems their is a key purge program for linux and OSX but nothing for a shitty windows user. If someone wants to walk me through setting up a virtual box on windows and then guide me through the key purge program, that would be cool. I tried to run virtualbox and get a fatal error message and then I dont know where to go after that.

    29
    Technical Support / Re: Importing bts 1.0 to 2.0
    « on: September 13, 2016, 06:58:57 pm »
    I got it to import, maybe. Re Downloaded BTS 2.0 light and imported and it seemed to be working except it is frozen now. It says I have 534164 private keys. not sure if the freezing is normal because I havent seen a "program not responding" message yet. I'll wait and see.

    30
    Technical Support / Importing bts 1.0 to 2.0
    « on: September 13, 2016, 03:12:14 am »
    Okay, I think I am fucked.

    I had previously exported all or most of my keys to bts 2.0. The day I did was the last time i opened bts 2.0. My computer (Windows 10) crashed and my hard drive was pretty much wiped. I was able to recover 140 gigs of Pictures thank good. But my dumb ass didnt save backups of the bts 2.0 wallet. I have backups to every bts 1.0 keys and just redownloaded bts 0.9.3 and the chain that I think Fav had on mega. I exported through the console to a .json with the full path. Now when attempting to import to 2.0 I am getting an invalid format. I have followed the direction to a "T" except the legacy bitshares chain torrent wasnt connecting to any peers so I found that other source of the chain online.

    Why am i getting the invalid format error? Is it the chain or something else? Please dont tell me that it is because I have already imported those keys.

    Thanks

    Pages: 1 [2] 3