Bitcoin Forum
April 25, 2024, 02:25:17 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Poll
Question: Bismuth and Clarity
Create two independent systems - 2 (22.2%)
Dev rewards like Dash and ZCASH, one system - 7 (77.8%)
Total Voters: 9

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 [33] 34 35 36 »
  Print  
Author Topic: [TESTNET]Bismuth - New Language, Interpretation Engines, DAPPs  (Read 49699 times)
kakaxibkl
Newbie
*
Offline Offline

Activity: 53
Merit: 0


View Profile
March 12, 2017, 02:46:30 AM
 #641

Can't run on Ubuntu system?

Hi, yes you should be able to run from Ubuntu. Some Linux systems have python installed by default.

What you need to run from the directory after you download zip/master branch from github releases and unpack it:

1.
Code:
pip install pillow pyqrcode pypng pyinstaller web.py pycrypto simple-crypt

2.
Code:
pyinstaller --uac-admin --onefile --noconsole --log-level=INFO gui.py --icon=graphics\icon.ico
pyinstaller --uac-admin --onefile --log-level=INFO node.py --icon=graphics\icon.ico
pyinstaller --uac-admin --onefile --log-level=INFO miner.py --icon=graphics\icon.ico
pyinstaller --uac-admin --onefile --log-level=INFO ledger_explorer.py --icon=graphics\icon.ico --hidden-import=ledger_explorer

Then, you should be able to run your executable.
Alternatively, you can choose to run node/miner/gui.py directly without the second step (if you have pyhton installed).

I have installed pyhton,
But unable to execute wallet,
Please tell me how to do it, thank you
An error occurred while executing the following code: command not found
------------------------------------------------------------------------------------------------------------------
Code:
pyinstaller --uac-admin --noconsole --log-level=INFO gui.py --onefile --icon=graphics\icon.ico
Pyinstaller --uac-admin --log-level=INFO node.py --onefile --icon=graphics\icon.ico
Pyinstaller --uac-admin --log-level=INFO miner.py --onefile --icon=graphics\icon.ico
Pyinstaller --uac-admin --log-level=INFO ledger_explorer.py --icon=graphics\icon.ico --onefile --hidden-import=ledger_explorer




RUN代码:pip install pillow pyqrcode pypng pyinstaller web.py pycrypto simple-crypt
得到以下提示:

Exception:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 209, in main
    status = self.run(options, args)
  File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 328, in run
    wb.build(autobuilding=True)
  File "/usr/lib/python2.7/dist-packages/pip/wheel.py", line 748, in build
    self.requirement_set.prepare_files(self.finder)
  File "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", line 360, in prepare_files
    ignore_dependencies=self.ignore_dependencies))
  File "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", line 512, in _prepare_file
    finder, self.upgrade, require_hashes)
  File "/usr/lib/python2.7/dist-packages/pip/req/req_install.py", line 273, in populate_link
    self.link = finder.find_requirement(self, upgrade)
  File "/usr/lib/python2.7/dist-packages/pip/index.py", line 442, in find_requirement
    all_candidates = self.find_all_candidates(req.name)
  File "/usr/lib/python2.7/dist-packages/pip/index.py", line 400, in find_all_candidates
    for page in self._get_pages(url_locations, project_name):
  File "/usr/lib/python2.7/dist-packages/pip/index.py", line 545, in _get_pages
    page = self._get_page(location)
  File "/usr/lib/python2.7/dist-packages/pip/index.py", line 648, in _get_page
    return HTMLPage.get_page(link, session=self.session)
  File "/usr/lib/python2.7/dist-packages/pip/index.py", line 757, in get_page
    "Cache-Control": "max-age=600",
  File "/usr/share/python-wheels/requests-2.9.1-py2.py3-none-any.whl/requests/sessions.py", line 480, in get
    return self.request('GET', url, **kwargs)
  File "/usr/lib/python2.7/dist-packages/pip/download.py", line 378, in request
    return super(PipSession, self).request(method, url, *args, **kwargs)
  File "/usr/share/python-wheels/requests-2.9.1-py2.py3-none-any.whl/requests/sessions.py", line 468, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/share/python-wheels/requests-2.9.1-py2.py3-none-any.whl/requests/sessions.py", line 576, in send
    r = adapter.send(request, **kwargs)
  File "/usr/share/python-wheels/CacheControl-0.11.5-py2.py3-none-any.whl/cachecontrol/adapter.py", line 46, in send
    resp = super(CacheControlAdapter, self).send(request, **kw)
  File "/usr/share/python-wheels/requests-2.9.1-py2.py3-none-any.whl/requests/adapters.py", line 376, in send
    timeout=timeout
  File "/usr/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/connectionpool.py", line 610, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/util/retry.py", line 228, in increment
    total -= 1
TypeError: unsupported operand type(s) for -=: 'Retry' and 'int'
1714011917
Hero Member
*
Offline Offline

Posts: 1714011917

View Profile Personal Message (Offline)

Ignore
1714011917
Reply with quote  #2

1714011917
Report to moderator
1714011917
Hero Member
*
Offline Offline

Posts: 1714011917

View Profile Personal Message (Offline)

Ignore
1714011917
Reply with quote  #2

1714011917
Report to moderator
Once a transaction has 6 confirmations, it is extremely unlikely that an attacker without at least 50% of the network's computation power would be able to reverse it.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
HCLivess (OP)
Legendary
*
Offline Offline

Activity: 2114
Merit: 1090


=== NODE IS OK! ==


View Profile WWW
March 12, 2017, 08:25:03 AM
 #642



RUN代码:pip install pillow pyqrcode pypng pyinstaller web.py pycrypto simple-crypt
得到以下提示:

Exception:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 209, in main
...


Please try easy_install, looks like a pip-related issue (or requests?)
What is the Linux you are using?
Code:
pip install setuptools

try upgrading/reinstalling pip also

kakaxibkl
Newbie
*
Offline Offline

Activity: 53
Merit: 0


View Profile
March 12, 2017, 03:58:03 PM
 #643



RUN代码:pip install pillow pyqrcode pypng pyinstaller web.py pycrypto simple-crypt
得到以下提示:

Exception:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 209, in main
...


Please try easy_install, looks like a pip-related issue (or requests?)
What is the Linux you are using?
Code:
pip install setuptools

try upgrading/reinstalling pip also


 python gui.py
Traceback (most recent call last):
  File "gui.py", line 4, in <module>
    import PIL.Image
ImportError: No module named PIL.Image
kakaxibkl
Newbie
*
Offline Offline

Activity: 53
Merit: 0


View Profile
March 12, 2017, 03:59:35 PM
 #644



RUN代码:pip install pillow pyqrcode pypng pyinstaller web.py pycrypto simple-crypt
得到以下提示:

Exception:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 209, in main
...


Please try easy_install, looks like a pip-related issue (or requests?)
What is the Linux you are using?
Code:
pip install setuptools

try upgrading/reinstalling pip also


 python gui.py
Traceback (most recent call last):
  File "gui.py", line 4, in <module>
    import PIL.Image
ImportError: No module named PIL.Image

I am using Ubuntu 16.04
HCLivess (OP)
Legendary
*
Offline Offline

Activity: 2114
Merit: 1090


=== NODE IS OK! ==


View Profile WWW
March 13, 2017, 04:35:18 PM
 #645

Quote
I am using Ubuntu 16.04


Please try one of these solutions:
http://stackoverflow.com/questions/8863917/importerror-no-module-named-pil

Also, thanks for letting me know, might opt for a more integrated graphics handling in the future

Code:
python -m pip install Pillow
looks interesting

kakaxibkl
Newbie
*
Offline Offline

Activity: 53
Merit: 0


View Profile
March 13, 2017, 07:57:27 PM
 #646

Quote
I am using Ubuntu 16.04


Please try one of these solutions:
http://stackoverflow.com/questions/8863917/importerror-no-module-named-pil

Also, thanks for letting me know, might opt for a more integrated graphics handling in the future

Code:
python -m pip install Pillow
looks interesting
-------------------------------------------
Now the situation is like this, there is nothing wrong with it, thank you
python gui.py
Traceback (most recent call last):
  File "gui.py", line 6, in <module>
    import pyqrcode
ImportError: No module named pyqrcode
HCLivess (OP)
Legendary
*
Offline Offline

Activity: 2114
Merit: 1090


=== NODE IS OK! ==


View Profile WWW
March 13, 2017, 10:53:57 PM
 #647

Quote
I am using Ubuntu 16.04


Please try one of these solutions:
http://stackoverflow.com/questions/8863917/importerror-no-module-named-pil

Also, thanks for letting me know, might opt for a more integrated graphics handling in the future

Code:
python -m pip install Pillow
looks interesting
-------------------------------------------
Now the situation is like this, there is nothing wrong with it, thank you
python gui.py
Traceback (most recent call last):
  File "gui.py", line 6, in <module>
    import pyqrcode
ImportError: No module named pyqrcode


"generate QR code" I think does not work for Linux currently, but you may try this:

Code:
python -m pip install pyqrcode

kakaxibkl
Newbie
*
Offline Offline

Activity: 53
Merit: 0


View Profile
March 14, 2017, 04:52:30 PM
 #648

I really want to have a Ubuntu system installation guide, I like this coin, but my system is Ubuntu, I can not run him. I think there are a lot of people with me.
kellendil
Hero Member
*****
Offline Offline

Activity: 630
Merit: 503



View Profile
March 14, 2017, 05:26:04 PM
 #649

When will you guys launch the mainnet ?
maccaspacca
Sr. Member
****
Offline Offline

Activity: 278
Merit: 258


Twitter: @maccaspacca1


View Profile
March 14, 2017, 09:46:33 PM
 #650

I really want to have a Ubuntu system installation guide, I like this coin, but my system is Ubuntu, I can not run him. I think there are a lot of people with me.

If you are installing the dependencies on Ubuntu, you need to install as 'sudo'


example commands include;

sudo apt install python-pip
sudo pip install pillow pyqrcode pypng pyinstaller web.py pycrypto simple-crypt
sudo apt-get install python-tk

I have a node running on Ubuntu 16.04 and the executable successfully compiles (at least on my machine) using

pyinstaller --onefile --log-level=INFO node.py --icon=graphics\icon.ico

At some point (if I have time) I might write a guide for running on Ubuntu.

HCLivess (OP)
Legendary
*
Offline Offline

Activity: 2114
Merit: 1090


=== NODE IS OK! ==


View Profile WWW
March 15, 2017, 11:55:45 AM
 #651

Hyperblock code is ready, will be released in the upcoming version. Since now, there will be an extra parameter in the config where you can choose if you want to run with hyperblocks or not.

If you do, all but the last 10000 blocks will be trimmed and transactions converted to outstanding balance.

This effectively means that your blockchain size will never grow over 10 MB + sum(transactions) - can be up to 100 MB or more if the network is highly used. Also, it anonymizes the historical transactions, so if you want to keep them, run without hyperblocks.

This is how it looks in GUI:

kakaxibkl
Newbie
*
Offline Offline

Activity: 53
Merit: 0


View Profile
March 15, 2017, 01:09:05 PM
 #652

I really want to have a Ubuntu system installation guide, I like this coin, but my system is Ubuntu, I can not run him. I think there are a lot of people with me.

If you are installing the dependencies on Ubuntu, you need to install as 'sudo'


example commands include;

sudo apt install python-pip
sudo pip install pillow pyqrcode pypng pyinstaller web.py pycrypto simple-crypt
sudo apt-get install python-tk

I have a node running on Ubuntu 16.04 and the executable successfully compiles (at least on my machine) using

pyinstaller --onefile --log-level=INFO node.py --icon=graphics\icon.ico

At some point (if I have time) I might write a guide for running on Ubuntu.

Looking forward to your tutorials, friends
kakaxibkl
Newbie
*
Offline Offline

Activity: 53
Merit: 0


View Profile
March 15, 2017, 01:47:42 PM
 #653

I really want to have a Ubuntu system installation guide, I like this coin, but my system is Ubuntu, I can not run him. I think there are a lot of people with me.

If you are installing the dependencies on Ubuntu, you need to install as 'sudo'


example commands include;

sudo apt install python-pip
sudo pip install pillow pyqrcode pypng pyinstaller web.py pycrypto simple-crypt
sudo apt-get install python-tk

I have a node running on Ubuntu 16.04 and the executable successfully compiles (at least on my machine) using

pyinstaller --onefile --log-level=INFO node.py --icon=graphics\icon.ico

At some point (if I have time) I might write a guide for running on Ubuntu.
Thanks very much
I have successfully run the wallet

HCLivess (OP)
Legendary
*
Offline Offline

Activity: 2114
Merit: 1090


=== NODE IS OK! ==


View Profile WWW
March 15, 2017, 02:10:23 PM
 #654

Thanks for the help with linux! I will paste these instructions on the first page/op.

maccaspacca
Sr. Member
****
Offline Offline

Activity: 278
Merit: 258


Twitter: @maccaspacca1


View Profile
March 15, 2017, 07:42:58 PM
 #655

Important

Just to let everyone know that due to the changes in the latest release both the desktop and web versions of my Bismuth tools no longer work.

I have withdrawn the repository on github so I can undertake a rebuild of the tools whilst at the same time make some security improvements.

I will inform you all once I have released the new versions.


HCLivess (OP)
Legendary
*
Offline Offline

Activity: 2114
Merit: 1090


=== NODE IS OK! ==


View Profile WWW
March 15, 2017, 09:52:43 PM
 #656

Hello again, I found out that the transaction history handling was incomplete and caused balances to go more negative/positive with each restart. Apologies and here is the fixed version (hopefully final implementation of hyperblocks)

I had to bump up the version so that nobody loses anything (albeit testnet)

https://github.com/hclivess/Bismuth/releases/tag/2.03

Thanks for testing!

HCLivess (OP)
Legendary
*
Offline Offline

Activity: 2114
Merit: 1090


=== NODE IS OK! ==


View Profile WWW
March 15, 2017, 10:00:09 PM
 #657

How do I mine with multiple computers to the same address?

I hope this coin does well
-Conscripted

You just copy the privkey.der and pubkey.der to the other computers and start mining. Mind you this is still testnet, main network will be released later this year

kakaxibkl
Newbie
*
Offline Offline

Activity: 53
Merit: 0


View Profile
March 15, 2017, 10:50:37 PM
 #658

How do I mine with multiple computers to the same address?

I hope this coin does well
-Conscripted

You just copy the privkey.der and pubkey.der to the other computers and start mining. Mind you this is still testnet, main network will be released later this year
Will the coins that test the network mining be retained after the main network is released?
HCLivess (OP)
Legendary
*
Offline Offline

Activity: 2114
Merit: 1090


=== NODE IS OK! ==


View Profile WWW
March 16, 2017, 10:41:48 AM
 #659

How do I mine with multiple computers to the same address?

I hope this coin does well
-Conscripted

You just copy the privkey.der and pubkey.der to the other computers and start mining. Mind you this is still testnet, main network will be released later this year

Thanks.  Is it possible to run the NODE program on one computer and mine from several others or do you have to have a node running on each machine?

Yes, it is possible if you change the mining IP in config. However, you will not be receiving the mempool so you always will mine empty blocks. In order to fix this, I would need to add mempool synchronization to miner, which is not a priority atm. Also your ledger will not synchronize where miner is so you will fork. It needs to be redesigned to work properly.

https://github.com/hclivess/Bismuth/issues/31

you could make a network path to the ledger.db, but mempool.db is hardcoded atm

not a priority at the moment, but you can put it together from the code which already is on github Wink

HCLivess (OP)
Legendary
*
Offline Offline

Activity: 2114
Merit: 1090


=== NODE IS OK! ==


View Profile WWW
March 16, 2017, 03:37:54 PM
 #660

I would like to boast about hyperblocks a little. Since I've read up this by Gavin http://gavinandresen.ninja/utxo-uhoh, I now know that unlike Bitcoin, Bismuth has no UTXO problems, because it uses a different approach. Another advantage is that Bismuth "light" nodes have the same functionality as Bitcoin full nodes and can confirm transactions without hassle.

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 [33] 34 35 36 »
  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!