Bitcoin Forum
July 01, 2024, 03:19:09 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 [574] 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 ... 1160 »
11461  Bitcoin / Development & Technical Discussion / Re: Implementing a full node from scratch for educational purposes. Advice/thoughts? on: November 01, 2019, 02:03:21 PM
2 is pretty reasonable too. Split things up into functions and not objects. Classes are still a thing but structs not so much. Only structs youll need at a fundamental level is the packet frames, merkle root trees and keys..

i honestly don't get what OOP has anything to do with anything to be avoided! there is nothing wrong with it and in fact it is one of the best software designs that you can use.
as for classes versus structs if you are talking about c# then i think you may need to revisit their differences. it is a bit weird what you said. structs are pretty useful when you want a value type object. in many places such as EC points you should use them, in certain data types such as locktime field in a transaction you can use them,... and a lot more.
11462  Other / Beginners & Help / Re: Today is the day Bitcoin whitepaper were released. Happy Birthday Bitcoin. on: November 01, 2019, 05:34:10 AM
Whitepaper was beginning of born Bitcoin on 3rd January 2009. Whitepaper was described an idea of of "peer to peer electronic cash" and that's how bitcoin become most popular by this concept.

the whitepaper released in October 2008 was when Satoshi was still pregnant with bitcoin and hadn't give birth to it yet. the "birth-day" of bitcoin is when he actually gave birth to it and bitcoin came into existence on January 3, 2009. Tongue
11463  Economy / Service Discussion / Re: after 2+ years blockchain.com explorer finally supports bech32 addresses! on: November 01, 2019, 05:11:54 AM
And for some reason, their new (very huge) top banner advertisement made it through my AdBlocker.

that's not a banner advertisement, that is why it is not being blocked. it is more like site cosmetics apparently. if you are using uBlock ad blocker you can use its "element picker" feature to select parts of the site you don't want to see, select the entire top section and click "created" for it to be blocked.
it showed this "##.XFGDD.sc-1ejlvty-0" as the element and it successfully blocked it on other visits too.
11464  Bitcoin / Bitcoin Discussion / Re: "Game theory" free bitcoin question on: November 01, 2019, 04:21:24 AM
ok firstly most pools do 'first seen' and then ignore other transactions. this is why CPFP was invented to have a child transaction that spends it. thus making the linked parent be required,

what then happens is that you get a chain of transactions
which instead of RBF
1abc (10btc) -> 1bcd (9.99999900) (on person)
1abc (10btc) -> 1ghi (9.99999800) (competing person)

becomes CPFP
1abc (10btc) -> 1bcd (9.99999900) (one person)
                        1bcd(9.99999900) -> 1cde (9.99999700) (same person)
                                                         1cde (9.99999700) -> 1def (9.99999600) (same person)

where they try as fast as they can to make spending transactions hoping to get one tx more than a competitor to then get the confirm

ofcourse this can go on forever or until the guy sees the first transaction confirms then he know the funds are safe in his posession

i don't see any point in doing something like this. all the person who is taking the 10 bitcoin has to do is to
- be fastest in getting his transaction to the pool
- pay a high fee compared to the highest fee in the mempool (like 1000 sat/byte when highest is 1 s/b)
- mark the tx as final (max sequences)
when this tx is in the pool's node mempool anything else that is received will be rejected as double spend. CPFP doesn't do anything here. if the pool were to drop such a tx, they don't care whether it has 10 tx after it (in a chain) or 0.
11465  Bitcoin / Bitcoin Discussion / Re: Anonymity with BTC via XMR on: November 01, 2019, 04:05:07 AM
whenever it comes to anonymity it all comes down to who you are trying to hide from and why. for example if it is to gain some more "privacy" from random Joe on the internet knowing what you do and how much bitcoin you own, there are much simpler methods with a lot less fees. for instance simply avoiding address reuse and input consolidation increases your privacy a lot. there are also better ways such as CoinJoin you could use. if more anonymity is required the centralized mixers could be used.
as for Monero, the main problem is with buying it. specially when you buy it from a service that is a little shady. you can't really expect that much anonymity in the end, and that is only if they don't rob you.
and finally if you are trying to hide from the "law" (doing something illegal) then it is best not to use any cryptocurrency in first place and stick to good old cash.

read this too: https://bitcointalk.org/index.php?topic=5146241.0
11466  Bitcoin / Bitcoin Discussion / Re: I Just Love the Game of a Totalitarian State on: November 01, 2019, 03:55:32 AM
I presume the state has made all the necessary studies of the blockchain technology and they found out that it is the best option. And now that the state has its verdict, any content from news publications that will discredit or raise doubts against the technology will be removed, censored, or banned.

i think it is more like they have studied Venezuela and what they did with their Petro coin (create their own centralized garbage altcoin out of thin air for no reason) and now that some time has passed they are trying to build up the groundwork for their own centralized garbage altcoin. that is why it says "blockchain technology" not bitcoin.
11467  Bitcoin / Bitcoin Discussion / Re: How to buy Bitcoin from Bittrex using their API and Python? on: October 31, 2019, 05:26:49 AM
What exchanges do you say I should use since you for good reason say not to use Bittrex?

well the important thing in my opinion is to be aware of what you are dealing with. these companies have been doing pretty much anything they want. they pull a big scam like Gox, pull selective scams like this one, or get hacked or get fake hacked and a lot of other things that leads to users being screwed.
so when you choose a centralized exchange and start trading you should try to never feel safe. they control your money and you can lose it any moment. that is important for your risk management.

i would say use popular exchanges at the time with high volumes and beware of the risks. invest what you can afford to lose and don't leave it in their wallet whenever you can.
and start looking into truly decentralized exchanges. the benefit here is that you keep the control over your keys and consequently your fund.
11468  Other / Meta / Re: Feature Request: Follow users on bitcointalk.org on: October 31, 2019, 05:07:14 AM
i voted no because i am more interested in boards and the subject that is being created not all the things a user creates. for example if you follow theymos (as you said in OP) you will be constantly notified about his auction topics for ad space which may not interest you if you don't have a business you wanted to advertise on the forum. then there are his Meta topics which you would see if you are interested in Meta-related topics and visit the board already.
the only thing you might have missed is his interesting topics he sometimes starts in other boards like: [Guide] Decent mixing methods or Idea for uncensorable DNS

but those you can easily find by opening this link: https://bitcointalk.org/gettopics.php?user=35
11469  Bitcoin / Bitcoin Discussion / Re: How to buy Bitcoin from Bittrex using their API and Python? on: October 31, 2019, 04:49:51 AM
People seem to call exchanges scams sometimes just over them having a problem or two themselves and/or losing money and/or not getting fast responsive service from the exchange. I've seen Bittrex's CEO on CNBC before, they're based in the US, and while I haven't put much money on their exchange I have never had any problems myself with them, so far.
it is not just some random newbie accounts complaining about losing on some trades. it was thousands of users that held a huge sum of money on bittrex for trading and they (me included) have never had any problems with it at all. there was no need to verify accounts and when asked they said it won't change and they had no problem with certain countries. some day they decided to change this rule overnight. they simply limited all the unverified accounts and banned those countries to practically rob their money.
you want to trust such company, that is your choice.

do people have evidence or proof of theft or similar problems with Bittrex?
try going through the trust link i posted above. it belongs to the user who opened up bittrex announcement on bitcointalk.

Quote
I don't understand what you're saying about how to use the key and headers and all of that. I've read that and heard similar in some videos but I can't find an actual example of actual code, and I don't think I'm going to understand this until I find an example of the code so that I can figure out and understand why whatever goes where ever.
sorry i am not familiar with python to give you any actual code but i could give you where to look (requests library). it would look something like this:
Code:
requests.get(
        'https://api.bittrex.com/api/v1.1/path/call?param=value&apikey=0123456789&nonce=1542020339856',
        headers={"apisign": 'FC70DD6467C916FBAA14EB89942644F9CF3F4CBF179923EE677413DC2E1CF2D8C5AA60C85A0A0BB3174960B8AA4FCFB0BC20CDE19BF21D567C671811C52CE631'}
    ).json()

there are also many examples on github: https://github.com/search?l=Python&q=bittrex&type=Repositories
this one in particular seems clear: https://github.com/ndri/python-bittrex/blob/7941b750d638bd5593777543a04c40ad539ca8e6/bittrex.py#L33-L42
11470  Other / Beginners & Help / Re: Trading bots/tools/platforms? on: October 31, 2019, 04:21:52 AM
Heey cryptofam!
Don't have much time to learn so i'm asking for a shortest way to trade.
How much do bots cost?
Help appreciated, thank you!

You can buy signals I think it's a good entry point. Let me know what you find I interested to invest a little money in trading on exchange also.

that is a terrible advice. not to mention that there has never been anybody selling "trading signals". they may call it that but what they sell you is a scam. basically they give you some obvious cases to get you hooked up on their scam and then only give you crap for the shitcoins they are bag holding themselves so that you buy it from them without even knowing it and end up losing money.
11471  Bitcoin / Bitcoin Discussion / Re: How to buy Bitcoin from Bittrex using their API and Python? on: October 31, 2019, 04:10:51 AM
you should stay away from bittrex, it is a scam exchange https://bitcointalk.org/index.php?action=trust;u=96390

But I have no idea where to put/use my public key, encrypted secret key, and nonce!

first create the request URL like the example which would look like this:
Code:
https://api.bittrex.com/api/v1.1/path/call?param=value&apikey=0123456789&nonce=1542020339856
then use HMAC-SHA512 to hash it. the key of this HMAC is your apisecret and the message to hash is the URL. (decode both key and message as ASCII but then encode the result as hex).

now that you are ready you can start your Http POST call https://realpython.com/python-requests/
the URL of this call is the same URL above and the only difference is that you now have to add headers to this call. one header for 'Content-Type'='application/json' and one header to include what you signed. "apisign"="hex_that_was_computed_above"
11472  Bitcoin / Bitcoin Discussion / Re: Living Off-Grid With Bitcoin? on: October 31, 2019, 03:55:30 AM
it is not something you can do on your own. you need others to have adopted bitcoin as a currency too. for example in that "off grid" place where you run your full node, you still need electricity and a PC which means you have to pay the bills and buy the PC and unless they accept bitcoin as payment you can't really achieve what you are trying to do here.
otherwise as far as possibilities go, it is possible and in fact pretty easy thing to do.
11473  Economy / Service Discussion / Re: after 2+ years blockchain.com explorer finally supports bech32 addresses! on: October 31, 2019, 03:30:45 AM
but I stopped using your wallet because

for a moment there i though i owned blockchain.com company Grin

~
Finally hehe. I used another block explorer API, it is called bitaps. It does what it needs to do.
finding block explorer "API"s that support native SegWit addresses has been hard despite their web interface supporting it, they usually don't have the support in their API. i didn't know about this one, thanks. it works fine...
https://api.bitaps.com/btc/v1/blockchain/address/state/bc1qw508d6qejxtdg4y5r3zarvary0c5xw7kv8f3t4
https://api.bitaps.com/btc/v1/blockchain/address/state/bc1qrp33g0q5c5txsp9arysrx4k6zdkfs4nce4xj0gdcccefvpysxf3qccfmv3
11474  Economy / Service Discussion / after 2+ years blockchain.com explorer finally supports bech32 addresses! on: October 30, 2019, 05:20:13 PM
talk about being slow!
it has been more than 2 years from August 2017 when SegWit was activated and has been in use. most other block explorer has been upgraded in 2017 and the rest in 2018 and blockchain.info(.com) has been the worst and laziest among them.
today i saw that they are finally recognizing bech32 addresses (both types):
https://www.blockchain.com/btc/address/bc1qw508d6qejxtdg4y5r3zarvary0c5xw7kv8f3t4
https://www.blockchain.com/btc/address/bc1qrp33g0q5c5txsp9arysrx4k6zdkfs4nce4xj0gdcccefvpysxf3qccfmv3

i wonder how many user are still using this explorer? i have personally migrated to a much better explorer called https://blockchair.com/
11475  Bitcoin / Development & Technical Discussion / Re: Would a brain wallet based on a password hashing algorithm be secure? on: October 30, 2019, 05:12:20 PM

This one is interesting. Thank you for sharing.
Do you understand the whole process how this tool makes the private key from a simple phrase?

it is explained on the website inside the link that was shared, is there any particular step of the process that have problem with?


it is worth adding that when you speak of brain wallet you should never only think about how strong a password YOU can create. maybe you can come up with a real strong password and never have any problem but majority of the others who use the same tool will not. and that is another big problem!
11476  Other / Beginners & Help / Re: As a beginner, which wallet is best for you? on: October 30, 2019, 05:13:45 AM
3. Support for multiple coins and tokens : This helps in portfolio management, a wallet that supports variety of tokens and coins help traders and investors in managing their funds with ease in one place.
4. In app decentralised exchange : Exchanging your favourite tokens without sending it out of your wallet will help reduce risks and save time, I look out for this when choosing a wallet.

beginners must stay away from altcoins specifically tokens because the only end result for them is losses. so choosing a wallet that supports these things only makes it worse for them. additionally these types of wallets are always less secure since they are either new, closed source or entirely shady.
11477  Bitcoin / Development & Technical Discussion / Re: Would a brain wallet based on a password hashing algorithm be secure? on: October 30, 2019, 04:47:07 AM
Now, there are certain hashing algorithms specifically designed to resist attacks on hashed passwords: bcrypt, scrypt, and argon2id, for example. They have these advantages:
  • They are much slower than SHA-256. For example, Litecoin's configuration of scrypt is about 1000 times slower than SHA-256.
  • They require much more memory, which limits the parallelization.
  • They also generally include a "salt" parameter that limits the ability to use pre-generated hash tables.
these are not hash algorithms, these are key derivation functions. and your points are somewhat false.
- slower in this context means slower in a micro scale otherwise they are quite fast. you can only say a hash algorithm is slower if it takes 1 minute to compute the hash not the same micro second!
- this depends on the settings. if for example you use scrypt with a low cost factor and block size factor then it isn't really a memory expensive one.
- when the "salt" is known (which is the case with a pre-defined brainwallet algorithm) it could still be pre-generated.

Quote
My question for the experts: would switching to an appropriate hash algorithm such as the ones listed above be enough to make a brain wallet secure?
the main problem with brain wallets is that the attacker has a much smaller space to search compared to a random 256 bit entropy. you can increase the complexity of the phrase being memorized, the complexity and cost of the algorithm, add salt,... but still the main problem remains the same.

and also since it depends on user's choice of phrase and people rarely choose something truly strong, the search space is usually small.


i wouldn't recommend using a brain wallet but the only thing that i can think of which can help create a "better" (still not safest) key is using your own defined algorithm which combines multiple methods.
an easy example would be choosing a password (lets assume it is '123') then using different hashes but not letting anybody know which hashes you used.
Code:
a0b8dec49dfb6a658bb2fcb417d58b8a8550ba73c7f0936d4d628191b3562b5d
even though my password was simple the result is still "more" random. try to guess which hash algorithms i used first before reading the last line. now the attacker not only has to guess my password (brain wallet phrase) but also has to guess which hash algorithms, how many of them and in what order i used to get the final key from. but the problem still exists here too, the assumption should be that the attacker could gain more knowledge about my method which i tried keeping secret. for example he may know i used 5 hashes and figure out i am a fan of keccak,... and if the reward is big enough it justifies the extensive work it needs to break it.


Keccak256(SHA3-256(SHA3-256(RIPEMD160(SHA256("123")))))
11478  Bitcoin / Bitcoin Discussion / Re: How do I effectively batch transactions on the BTC blockchain? on: October 30, 2019, 04:28:40 AM
in addition to what @o_e_l_e_o said (setting your transaction outputs), Electrum allows you to control your inputs too with great flexibility. you can go to your coins tab (if you don't see it, enable it through the menu > View > Show coins) which contains all your received transactions (aka coins to spend). you can see which address they belong to here too. select multiple inputs or all and right click to select spend. this way you can also consolidate your inputs.
(remember that this might not be favorable in some cases for privacy reasons since you will be combining inputs from different addresses together)
11479  Bitcoin / Bitcoin Discussion / Re: A rising number of Americans own crypto and nearly 13 million women says study.. on: October 30, 2019, 04:11:21 AM
Since US regulations make it more difficult for citizens to participate in crypto investments the growth shows an underlying interest.
You're obviously not from the states, because it is still legal to invest in bitcoin and everything else except for ico's.  The only regulatory pressure anyone is getting is facebook with libra.  There are also some laws pertaining to exchanges which is why Binance doesn't provide service to all states, but it isn't a nationwide issue.  So it's nowhere near as bad as you think.

people like OP tend to believe whatever lies they read online. it doesn't even have to be from a source like a news site, it may as well be a random comment on a forum. so he might as well be from US but fallen for the FUD.

as for these stats, if it were true then bitcoin price should have been a lot higher than this. a nearly 15% adoption in US alone means price of at least $500k for this limited supply currency! the only reason why it is still at this very low price levels is that the adoption is still around 1%.
11480  Economy / Trading Discussion / Re: Anonymous Peer 2 Peer trading platform on: October 29, 2019, 06:12:23 AM
Hi yes, the platform is legit. It states that it is available in over 200 countries and they have 7 available languagues.

how can it be available in "over 200" countries when we only have 195 countries in the world?![1]
also how is it anonymous and peer to peer and supposedly (based on this comment) it is not available in "some" countries? it needs to be available everywhere if it truly is p2p!

[1] https://www.worldometers.info/geography/how-many-countries-are-there-in-the-world/
Pages: « 1 ... 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 [574] 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 ... 1160 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!