Bitcoin Forum
May 26, 2024, 10:58:14 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 [100] 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 ... 158 »
1981  Bitcoin / Development & Technical Discussion / Re: Programming Bitcoin , Jimmy Song. ecc.py functions aren't working on: January 14, 2022, 11:43:36 AM

The errors appear because it's your task to implement the functions so that the tests (who output the errors you're seeing) 'pass'.
As we can see in the code, the __ne__ function is simply not implemented yet and a NotImplementedError error is raised. You are meant to remove this line and implement the function's functionality. That's the whole task here.

FYI, chapter 1 of the book also state you need to open ecc.py to start the exercise. I can see this confuse some people though, since i expected explicit instruction such as "To solve exercise 1, you need to open ecc.py and edit __ne__ function".

You can see this in action in the code that accompanies this book. Once you’ve set up Jupyter Notebook (see [setting_up]), you can navigate to code-ch01/Chapter1.ipynb and run the code to see the results. For the next exercise, you’ll want to open up ecc.py by clicking the link in the Exercise 1 box. If you get stuck, please remember that the answers to every exercise are in [appendix_solutions].



Spoiler: Here, in the answers.py file, you can see the solution to the exercise 1:
https://github.com/jimmysong/programmingbitcoin/blob/3fba6b992ece443e4256df057595cfbe91edda75/code-ch01/answers.py#L126

As I suspected, you're meant to simply implement the __ne__ function. So no, there are no systematic errors, it's the whole repo's purpose to give you programming problems to solve, which then result in working tests (and no error messages).

I can confirm copying the answer to ecc.py (rather than trying add function to imported object) works (passed the test).
1982  Economy / Service Discussion / Re: BitPay is slowly dying? on: January 14, 2022, 09:52:44 AM
But it also can be perceived that BitPay losing their market share on payment processor/gateway, so they decide to focus on enterprise business solution.
We don't know those are included / will be included in the charts.
For marketing reasons I can see them putting them in. For contractual reasons, I can see a company like Verifone wanting that hidden a bit so they can use the numbers the wat they want.

IMO it's likely transaction which comes from enterprise company isn't included since it could be detected on the chart. For example, industry "VPN/Hosting" (on stat "Prepaid/Gift Cards and Internet industries accept the most cryptocurrency") spiked after there's news BitPay cooperate with very popular VPS service.

It's good to know that we can bypass Bitpay questions and mess around with their stats  Cheesy

But i expect most user choose wallet they actually use since it's more likely they'll think about inconvenience if they choose wrong wallet rather than privacy concern, so the stats is still fairly accurate.
1983  Other / Meta / Re: Fix unresponsive Firefox on: January 14, 2022, 09:40:00 AM
Do we have any stats for browser that is mostly used on Bitcointalk forum?
We are probably following global trend with chrome browser.
Probably Google chrome followed by TOR, is it possible to identify from which browser they are browsing a website?

All browser send string called "User Agent" which usually contain browser type, browser version and OS. So it's possible to make such stats if such data is collected and processed.
1984  Economy / Service Discussion / Re: BitPay is slowly dying? on: January 13, 2022, 11:29:04 AM
On the other hand, I don't think that they are "slowly dying", since they've stroke some deals last year, like this one with Wix and this one with Verifone. I would have been expecting though that these would start getting in effect/be visible on those charts, but on the other hand big companies are not so much in a hurry to implement new things.

But it also can be perceived that BitPay losing their market share on payment processor/gateway, so they decide to focus on enterprise business solution.

I guess that you could in theory lie not tell the truth and say that you used some other wallet, but I never used Bitpay so I can't confirm if this would work or not.

Few days ago i was testing whether BitPay will ask for KYC if someone wish to donate $2K to Mozilla. I tried it few times, where each time i choose different open-source/non-custodial wallet. From my short experience, the KYC request was never triggered and i always see Bitcoin address/amount. So it should be possible to lie what kind of wallet do you use.
1985  Other / Meta / Re: Fix unresponsive Firefox on: January 13, 2022, 10:39:03 AM
Fortunately HTTP/3 is still on draft, so disabling it won't affect your experience since most website don't bother support protocol which is in draft state.

<snip>

It is still a draft, though the Wikipedia page for it states:

Quote from: http3
..
As of January 2022, the HTTP/3 protocol is still officially an Internet Draft, but is already supported by 73% of running web browsers,[3] and according to W3Techs 24% of the top 10 million websites
..

I checked the source (https://w3techs.com/technologies/details/ce-http3) and looks like HTTP/3 adoption rise quickly in last 11 months. Last time i heard news about HTTP/3, the adoption was lower than 1%. But since i never have problem accessing website which use HTTP/3 protocol, looks like they offer backward compatibility so i never noticed it.

1986  Other / Beginners & Help / Re: ExpressCrypto status on: January 13, 2022, 10:22:17 AM
So, my specific questions are:
Does anybody TRULY know what is happening with expresscrypto

No, unless you count the employee/owner.

and is it going to come back online?

Based on discussion at https://bitcointalk.org/index.php?topic=5378843, i doubt it'll happen.
1987  Other / Meta / Re: Fix unresponsive Firefox on: January 13, 2022, 10:10:36 AM
Fortunately HTTP/3 is still on draft, so disabling it won't affect your experience since most website don't bother support protocol which is in draft state.

P.S. If you use Tor Browser (which based on Firefox), you don't need to do anything since it's disabled by default.
1988  Other / Meta / Re: Bitcointalk Traffic Stats on: January 11, 2022, 09:47:07 AM
I wonder how accurate is their data when they state Bitcointalk HQ is located in china with 51 - 200 employees (i wonder if they count moderator as employees) Roll Eyes.

1989  Bitcoin / Bitcoin Technical Support / Re: Pubkey/address help needed (Python) on: January 10, 2022, 10:02:20 AM
Do you have any suggestions for a new well maintained Bitcoin python library for production use instead of testing?
I'm not a python programmer to be familiar with the libraries and their pros and cons but I've seen bitcoinlib be used in a couple of places and it seems to be actively developed. It also has a doc you could read.

pycoin is also quite popular and partially support altcoin as well. The documentation also exist, although i find it's not easy to read.
1990  Bitcoin / Electrum / Re: Trying to restore my wallet from 2009 or earlier on: January 10, 2022, 09:48:42 AM
Am i able to do it too even if i ve no developer knowledges?

Yes. Even if you never use linux, it's not difficult to follow tutorial and copy/paste few command.

And would u check the Server if there is 50005 port or whatever?

All server list on Electrum 0.30 is dead. As for running server from source code, i didn't try it because it require additional dependencies and very old Bitcoin client (which i doubt could connect to Bitcoin network).

I managed to run Electrum 0.3 on Debian 10,
-snip-
Can I get a copy of a "for test" electrum.dat (wallet) file from version 0.30? (or share a download link for everyone)
Because I'd like to play with it using various tools, also to be able to test some options for OP.

The wallet file size is very small and can be opened as plain text, so i'll share it here.

1. Encrypted with password "xyz789!".

Code:
(2, True, 0.005, '', 50000, 0, 'QBdnHhFGv6X4Uxj+zmnfDh9XkEjgYfoQf1bgZ3EhxF3WdiYnk0uqD6cc7dGk4BEBy+VDz4RbLknY4Cw1s8nWUw==', ['1BACH8EE1gih5N2bSKn4fvKPwBKVfz26ph'], 'AnO1hV80vmsc8xU8d1qNE9xC2z9urv+arlOjJQGOCzj4fsyga6OKSvH1Ntd7E4nrejPrJHh4fkwSI1difE4+jB3/D0LDEH2ZGswZNn7cFnc=', [], {'1BACH8EE1gih5N2bSKn4fvKPwBKVfz26ph': None}, {'1BACH8EE1gih5N2bSKn4fvKPwBKVfz26ph': []}, {}, [])

2. No encryption.

Code:
(2, False, 0.005, '', 50000, 0, 'f13c6f65388dabc85344fb8dc5f14bd6', ['16qN7kUt8SHUhXGXM6My1vM2Q8rn5qm37o', '1EGzJgCZsfDFEcER1YN7eAwFsD5UCDxw9G', '1HRojpi9WcBLYgcBHz7WG7ZtV6NMYNNDwx'], "['5JTvMqQhEeBQwcGBjPGsBod2XTsAQB7TWGgCMEpAdfsjVBcAze3', '5K5rq6DKJ95VxjLnkf26uF2NBMdMh1fkrZupm5rCKNcqCNj9ivA', '5Jx8NSAuaWUFN5aDSJZxHx6CRnWnATAd6yw6AhMCBWmf7nq8QTG']", [], {'1HRojpi9WcBLYgcBHz7WG7ZtV6NMYNNDwx': None, '16qN7kUt8SHUhXGXM6My1vM2Q8rn5qm37o': None, '1EGzJgCZsfDFEcER1YN7eAwFsD5UCDxw9G': None}, {'1HRojpi9WcBLYgcBHz7WG7ZtV6NMYNNDwx': [], '16qN7kUt8SHUhXGXM6My1vM2Q8rn5qm37o': [], '1EGzJgCZsfDFEcER1YN7eAwFsD5UCDxw9G': []}, {'16qN7kUt8SHUhXGXM6My1vM2Q8rn5qm37o': '', '1EGzJgCZsfDFEcER1YN7eAwFsD5UCDxw9G': ''}, [])

Electrum 0.30 apparently doesn't support multiple wallet file, so you'll need to create new plain text file at ~/electrum/electrum.dat.

Also, have you found an option to export the private keys in Electrum version 0.3?

No, all i could found is option to show seed.
1991  Bitcoin / Electrum / Re: Trying to restore my wallet from 2009 or earlier on: January 09, 2022, 12:37:17 PM
I managed to run Electrum 0.3 on Debian 10, so i'll write what i did. It's not fresh install, so it's possible there are required library that i've installed manually beforehand (which missing from guide).

1. Update all application

Code:
sudo apt update
sudo apt upgrade

2. Install all requirements

Code:
sudo apt install python-pip python-gtk2-dev
python2 -m pip install ecdsa==0.7 slowaes

3. Run Electrum

Code:
cd client
python2 electrum.py

Here are few screenshot i made.





1992  Bitcoin / Bitcoin Technical Support / Re: Private Key recovery from WIF format on: January 06, 2022, 11:53:59 AM
If the public key of your address isn't known and that address doesn't hold lots of Bitcoin, i would advice you to preserve your paper wallet and make additional backup (address, WIF and position of missing char in the WIF). In future CPU/GPU will be faster and hopefully Bitcoin price will rise so it might be worth to attempt brute-force.



With data from https://bitcointalk.org/index.php?topic=4453897.msg55552855#msg55552855 and https://vast.ai/, here's rough cost estimation using single RTX 2080 Ti at cost $0.332/hour

Code:
58^11 / 631.57 MKeys/s
= 24986644000165537792 / 631570000
= 39562746805.84185 second
= 10989651.89 hours

Code:
10989651.89 * $0.332 = $3,648,564.4 (about 87 BTC when i write this post)
1993  Economy / Service Discussion / Re: Looking for interesting media resources (any topic) on: January 06, 2022, 11:26:22 AM

Bitcoin.com is in 1st position, Bitmain blog is in 3rd place and bitpay blog is in 6th place. While the list is useful if OP bother check some of them, i would ignore the position.
1994  Other / Meta / Re: Reducing SEO/advertising spam on Bitcointalk on: January 06, 2022, 11:13:39 AM
What's the point of disallowing the URL tag from newbies if there's no reason for the spammers to use it? The former just harms the honest users if the latter is actualized.

AFAIK nofollow tag only affect SEO, so dissallow URL on newbie rank is needed if we want to reduce traffic to link shared by spammer.
1995  Other / Meta / Reducing SEO/advertising spam on Bitcointalk on: January 06, 2022, 10:17:52 AM
Following thread Advertising and shilling on Bitcointalk and seeing SEO spam almost everyday, i'm wondering if there are ways to reduce SEO/advertising on Bitcointalk. After digging my memory and very short research, i would like to propose few ideas that could reduce SEO/advertising spam on Bitcointalk.

1. Disallow brand new and newbie rank from using URL tag

Most user don't bother copy/paste URL manually, so traffic from this forum could be significantly reduced. While it annoy some people, it also reducing risks where user open URL spontaneously.

2. Use norefferer or nofollow tag

- According to https://webmasters.stackexchange.com/a/112080, Wikipedia used nofollow tag to remove incentive to spam Wikipedia with "link spam" and could be used to reduce SEO spam.
- While norefferer have no effect on SEO, it'll be more difficult to know whether spamming on Bitcointalk has "positive" result, especially if they spam on many websites.
- Those tags could should be added to URL only on posts, whether for all user or specific rank (e.g. Brand New, Newbie and Jr. Member).

Any feedback is appreciated, especially if you have experience with SEO.
1996  Bitcoin / Wallet software / Re: My own PyWallet on: January 05, 2022, 09:55:21 AM
What beside wallet format should I know to make some simple, basic operations on wallet?

FYI, since Bitcoin Core 0.21 it has new type of wallet which called "Descriptor wallet" which use SQLite (rather than Berkeley DB 4.Cool. If you plan to support descriptor wallet as well, you'll need to do additional research.
1997  Bitcoin / Bitcoin Technical Support / Re: Do all Native Segwit addresses begin with bc1q? on: January 05, 2022, 09:52:35 AM
I know that Taproot addresses are starting with bc1p, and Native Sewgit addresses start with bc1q.

and here is the funny..
taproot was promoted that "no one will be able to distinguish if its a standard transaction or a taproot transaction.."
um.. the 'q' and 'p' kind of give it away

1. Whoever said that explain Taproot poorly or fooled by media which overestimate Taproot capability.
2. It doesn't apply to P2SH-P2TR or P2WSH-P2TR.
3. The 'q' in 'bc1q' doesn't refer to Taproot.
1998  Bitcoin / Electrum / Re: Trying to restore my wallet from 2009 or earlier on: January 05, 2022, 09:47:44 AM
Searched for 0.30 but i couldnt see any working links, any advice please?

Here's link to commit/source code of Electrum with version 0.30 (see setup.py file to verify it), https://github.com/spesmilo/electrum/tree/5883aaf8ca2f79bf694d11ac6b63f5defd2a2c38. The bad news is you'll need to setup Python 2 environment because there's no compiled/installer version for very old version of Electrum.
1999  Economy / Service Discussion / Re: Crypto payment provider that allows split payments on: January 05, 2022, 09:13:08 AM
I want to build a marketplace, so there is a buyer and a seller. So when a buyer buys something from the seller I take the fee. Thus buyers money goes to my account like (10%) and the rest to the seller

Have you considered different approach such as
1. Seller manually send you the fee every month or after reaching X dollars? Mycelium Gear have such practice.
2. You're the one hold the coin, where miner can request withdraw manually or automatically (every day X or after reaching X dollar)
2000  Other / Meta / Re: What with bitcointalk .COM, it's a bit misleading. on: January 05, 2022, 08:54:24 AM
Bing does the same as DuckDuckGo, no .com on the first page.

FYI, DuckDuckGo buy search result from Bing. So next time you could used one of them to save your time.

Source: https://help.duckduckgo.com/duckduckgo-help-pages/results/sources/

Only Google shows this .com on the top page.

Since most people use Google Search, it's likely the owner of .com domain optimize SEO result only for Google Search.
Pages: « 1 ... 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 [100] 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 ... 158 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!