Bitcoin Forum
May 25, 2024, 11:24:44 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
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 37 38 39 40 41 42 43 44 45 [46] 47 48 49 50 51 52 53 »
901  Bitcoin / Bitcoin Discussion / Re: Bitcoin api on: October 24, 2016, 11:58:36 AM
Maybe tell us about what exactly you are trying to do so we can help you better.

If it is only a matter of showing it in "bitcoin" instead of "satoshi" you can just change the format of your data right before showing it (in your interface).

There should be another source - on one page I found api of many coins besides btc, but no other configurable api for such a coin?

In the link OmegaStarScream gave, you should go to "Address balance" section (use Ctrl+F to find it) and here is the link to an example:
https://btc.blockr.io/api/v1/address/balance/198aMn6ZYAczwrE5NvNTUMyJ5qkfy4g3Hi
response:
Code:
{"status":"success","data":{"address":"198aMn6ZYAczwrE5NvNTUMyJ5qkfy4g3Hi","balance":8000.00236957,"balance_multisig":0},"code":200,"message":""}
now deserialize this JSON and get the balance key which is in bitcoin not satoshi.
902  Bitcoin / Development & Technical Discussion / Re: Is this possible? on: October 22, 2016, 02:49:43 PM
♯♯
Because I've just finished learning ASP.NET and basic C#. I'm getting onto databases and other stuff now. I really like Bitcoin & C# so I would love to develop something in C# for the BTC community. Preferably a wallet. However, I'd firstly need to understand FULLY how they work and how to make them.

I am also new to C♯ that is why I asked, why.

I think one of the best references that you can use is Developers Guide to bitcoin
https://bitcoin.org/en/developer-documentation

The main problem with bitcoin is that it is too complicated with all the data manipulations like custom variables and stuff like that.

That said, I would love to see some projects done in C♯ for bitcoin and I promise to contribute whatever I can to any open source project even a tiny contribution.
903  Bitcoin / Electrum / Re: Coin Control in Electrum on: October 22, 2016, 11:37:16 AM
Go here:
Tools > Preference > Transactions (tab) > Coin Selection (last option) > select Priority or Privacy



It is done automatically. Anything more you have to do it manually by either creating transaction on your own by selecting the UTXOs or selecting multiple addresses from its tab and then Right click > Send from.

p.s. If you want I can explain how to create a raw unsigned transaction with the UTXOs that you have in mind (2 different ways) and then sign it inside your Electrum.
904  Bitcoin / Development & Technical Discussion / Re: Is this possible? on: October 22, 2016, 11:19:47 AM
Well hello there Grin

Would it be possible to create a desktop wallet in C#?

Why C♯?

And yes it is possible. There are already so many great bitcoin libraries written in C♯ on GitHub that you can start with.
Off the top of my head I can name BouncyCastle
http://www.bouncycastle.org/csharp
There are more in my starred repos
905  Bitcoin / Development & Technical Discussion / Re: Recent DDoS attack on DNS: A strong case for Namecoin-type protocols? on: October 22, 2016, 11:13:28 AM
I have made a topic about something similar to this a while back but it was buried...

Build website using Bitcoin and Torrent technology

Link to the project: https://github.com/elendirx/web2web

Everything is peer to peer.
906  Bitcoin / Project Development / Re: [C#][Github] Watch Only Bitcoin Wallet. Keep track of balance and price. on: October 20, 2016, 11:51:37 AM
Good job. Perhaps you can create an android version too.

Thanks.
I have it in my future plans, but the problem is I don't have an android so it would be a bit hard for me to test since I have never done it before, but I will do it eventually.
907  Other / Meta / Re: [Question] In-dept About Potential Activity. on: October 20, 2016, 03:57:03 AM
So what's the point of potential activity? I believe even if you have 10,000 potential activity if you don't post anything after getting that amount of potential activity, your activity rating will not go up. Am I right?

That is right. Activity is calculated this way to show how old your account is and how active you were in 2 week periods (period for activity update)

Quote
1st two week period: 300 quality posts. The estimator assessed my account with 14 activity and 286 potential activity.
2nd two week period: I don't post anything.

Will my account
a. Remain 14 activity and 286 potential activity.
b. 28 activity and 272 potential activity/
C. 14 activity and lower potential activity.

I don't really get potential activity.

Potential activity means it is "potential". So you don't get anything extra if you post extra. Every 2 weeks you can only get 14 activity no matter how many posts you make as long as it is not 0.

e.g.
1st week: you make 300 posts : Activity= 14 P.Activity=0
or
1st week: you make 3 posts : Activity= 3 P.Activity=11

Quote
Value of potential activity

This is only for account farmers/traders. They buy these cheap spam the forum (risk getting banned) and then sell higher!
908  Bitcoin / Project Development / Re: [C#][Github] Watch Only Bitcoin Wallet. Keep track of balance and price. on: October 19, 2016, 03:15:45 PM
How to compile this?

You need Visual Studio that supports .Net Framework 4.5 and up so at least Visual Studio 2013.

You can download it from here: https://www.visualstudio.com/downloads/

Also as it is said in the GitHub you will need a Nuget package called Newtonsoft.Json (https://www.nuget.org/packages/newtonsoft.json/)
Install with
Code:
Install-Package Newtonsoft.Json

Also keep an eye out, I will soon release a newer version with a little bit better look and easier address edit and a much better code behind following the MVVM pattern.
909  Economy / Services / Re: JAVA+MATH EXAM [PAYING BTC] on: October 18, 2016, 05:28:58 AM
Code written in C♯: https://gist.github.com/Coding-Enthusiast/40bf7e9b7780eaa6b6f07f257acf2fe7
Ways to contact: comment on the gist, or PM me here
Price: Free! Grin

I just did it for fun, and since Java and C♯ are really close.

Some results:
Code:
Number: 0
Closest Fibonachi is: 0

Number: 1
Closest Fibonachi is: 1

Number: 12
Closest Fibonachi is: 8

Number: 33
Closest Fibonachi is: 21

Number: 34
Closest Fibonachi is: 34
910  Bitcoin / Electrum / Re: Can't transfert to offline wallet on: October 16, 2016, 06:34:18 PM
It is because you are sending from 1PD8sU.... to 1PD8sU..... address.
In other words your "To" and "From" address are the same thing, so Electrum is telling you that you are in fact not transferring anything.

Look closer at the two green highlighted Addresses:
911  Bitcoin / Electrum / Re: Can't transfert to offline wallet on: October 16, 2016, 03:06:02 PM
Here are the steps:
1) Offline: make a new wallet with seed and everything.
2) Offline: copy the master public key
3) Online: make a watch-only wallet using this master public key
I think you have already done steps 1-3

4) Online: go to send tab, fill in the boxes, click "preview" and copy the unsigned tx



5) Offline: transfer the tx from last step to your offline wallet, import it and click "Sign"


6) Online: transfer the signed tx from last step to your online wallet, import it and click "Broadcast"
912  Bitcoin / Electrum / RELEASE-NOTES says 2.7.x is NOT Backward compatible (mistake?) on: October 16, 2016, 05:16:06 AM
Am I missing something here or is this a mistake?

# Release 2.7.0 (Oct 2 2016)
The wallet file format has been upgraded. This upgrade is not backward compatible, which means that a wallet upgraded to the 2.7 format will not be readable by earlier versions of Electrum.

Correct:
This upgrade is  backward compatible.
The old versions are not forward compatible.

Backward compatible: refers to a hardware or software system that can use the interface of an older version of the same product. A new standard product or model is considered backward compatible when it is able to read, write or view older formats.

Forward compatible: Forward compatibility is a design characteristic that allows a system to gracefully accept input intended for a later version of itself. The concept can be applied to entire systems, electrical interfaces, telecommunication signals, data communication protocols, file formats, and computer programming languages.
913  Bitcoin / Electrum / Re: Will Electrum stay backward compatible? on: October 16, 2016, 04:54:29 AM
First of all, the old version of Electrum has always been available either on
GitHub: https://github.com/spesmilo/electrum/releases
or official website: https://download.electrum.org/
so you can download and use those if you wish.

Will Electrum stay backward compatible?

So far the new versions have always been backward compatible meaning they recognize the older version of wallet.dat and/seed seed and can convert it to the newer version.

Quote
I was using electrum 2.6.4, and my question is will it stay backward compatible?
I am not referring to the wallet format, but the seed & master priv key and master public key structure? Will a new electrum say 3.x.x be able to recognize the seed of a 2.6.4 wallet?

So far it does. And for the future, it should continue doing so.

Quote
Will the electrum servers load up a 2.6.4 wallet say 1 year from now?

I don't understand what you mean by this.
914  Bitcoin / Bitcoin Discussion / Re: Bitcoin Whitepaper ... [not so serious post] on: October 15, 2016, 01:15:43 PM
FTFY:
Quote from: Satoshi Whitepaper
7. Reclaiming Disk Space
Once the latest transaction in a coin is buried under enough blocks, the spent transactions before it can be discarded to save disk space. To facilitate this without breaking the block's hash, transactions are hashed in a Merkle Tree, with only the root included in the block's hash. Old blocks can then be compacted by stubbing off branches of the tree. The interior hashes do not need to be stored.
A block header with no transactions would be about 80 bytes.
If we suppose blocks are generated every 10 minutes, 80 bytes * 6 * 24 * 365 = 4.2MB per year. With computer systems typically selling with 2GB of RAM as of 2008, and Moore's Law predicting current growth of 1.2GB per year, storage should not be a problem even if the block headers must be kept in memory.

At BestBuy in the year 57077 : "Excuse me sir, i need to get new RAM , I need hmm ... 240GB of RAM please"


Are you working for one of those magazines that only publish half of the quote to make the articles attractive click-baits  Tongue

915  Bitcoin / Bitcoin Discussion / Re: Is bitcoin System Vulnerable ? on: October 13, 2016, 12:24:08 PM
♯♯
Take a look at the bot of the page you will find " It took a lot of computing power to generate this database. "
Think again dude.

I tried to explain it the best I can so if you want to ignore facts and believe it is a "database" when it clearly IS NOT that would be your choice.
916  Bitcoin / Bitcoin Discussion / Re: Is bitcoin System Vulnerable ? on: October 13, 2016, 12:11:26 PM
You didn't got me did you ?
I meant if someone gets the database by brute force like " ♯♯♯ "
Then he can Search the database like he's searching Note pad and can easily find a particular Private key of an address.

What will happen if Instead of Private key it search the website ( ♯♯♯ ) with Bitcoin Address and trace Private key ?

Your problem is that you think directory[dot]io is a database. well it is not a database.

It is a very simple code that generates private keys on the go. Which means when you click on a page it generates private keys based on the number of the page you are in.

And also it is because you are seeing the private keys in WIF format (https://en.bitcoin.it/wiki/Wallet_import_format) which makes you confused. In fact the first page of directory[dot]io looks like this:
0000000000000000000000000000000000000000000000000000000000000001 : 5HpHagT65TZzG1PH3CSu63k8DbpvD8s5ip4nEB3kEsreAnchuDf  
0000000000000000000000000000000000000000000000000000000000000002 : 5HpHagT65TZzG1PH3CSu63k8DbpvD8s5ip4nEB3kEsreAvUcVfH  
and so on. It starts from value 1 and goes up from there.

You can easily make a code yourself and start creating private keys based on 1 to 1,000,000,...........

Quote
For Example a website is giving facility to find your address on " ♯♯♯ " With your Private key.
It's " ♯♯bitcoin-checker♯♯appspot♯♯♯com♯♯ "

This site will steal your private keys. It does not search
You would be a fool to go here an insert your private keys to check. Because sites like this don't search with bitcoin address (pubkey) but with private key instead in other words you enter your private key and they empty it for you Cheesy
917  Bitcoin / Project Development / Re: [C#][Github] Watch Only Bitcoin Wallet. Keep track of balance and price. on: October 10, 2016, 04:52:50 AM
♯There is a lot about the "New Economy" that I still do not well understand (how do you get paid for open-source work, etc.). ♯

Open source means you are doing it for free, especially when you release under MIT license.
And as for making money! I even feel bad for having a donation link, it is more of a habit I think!

Quote
But, coding that is open to public review, and with getting notice as author of it, should work out well for you.

Being able (having the knowledge) to do a tiny thing like this gives me a feeling that I can't buy with all the money in the world ^.^
918  Bitcoin / Project Development / Re: [C#][Github] Watch Only Bitcoin Wallet. Keep track of balance and price. on: October 10, 2016, 03:48:38 AM
♯I think this software must be upgraded to an online service.♯

There is already a good service you can use for "watch-only" purposes called blockchain.info and they even send you an SMS free of charge.

♯It would then become more convenient to use than to install 3rd party software.♯

This is open source, you don't install anything. You go through the code and if you understood the code, you compile it yourself.

Don't get discouraged. Open source software is much appreciated and needed. Keep up the good work. I'm a C# developer myself and always love seeing new C# projects pop up. Would love to help you in any way I can.

Thank you for your kind words. I am still a beginner but I have been improving a lot. I've already gotten some good feedback on my code on Reddit. But I am always looking for criticism and/or contribution in any way.

An idea of a future project that I would like to see would be another "Taint Analysis" tool that would show "taint" (connections) between BTC wallets and BTC transfers.  Depending on blockchain.info (as a monoploy on this type of tool) makes me a tad queasy...

This sounds like a very good idea. I am working on 4 different projects these days 2 of which you can see here (the wallet and making transactions: Raw unsigned and also CPFP transactions) but I will add it to my queue.



I will update the code this week with all the feedback I have received so far, and most importantly I will add documentation to make it easier to understand.
919  Bitcoin / Bitcoin Discussion / Build website using Bitcoin and Torrent technology> Decentralized! on: October 09, 2016, 05:33:16 PM
I was reading this article on TorrentFreak about this project called Web2Web (see on GitHub and I though I should share it here too.

With this little project there will be no need for servers, domains or essentially any centralization like that and you can stay fully anonymous (well not technically fully but you know what I mean) with it.

Here is how it works using Bitcoin and Torrent technology:
1) Using a bitcoin address, you look up the latest outgoing transaction which contains an OP_RETURN script like this one inside that script there is a torrent infohash of the HTML used to show the webpage.
output: 6a 14 3a76b7434505e72573deb5c8c1fc9f26768b1d39
torrent: magnet:?xt=urn:btih:3a76b7434505e72573deb5c8c1fc9f26768b1d39 (of course some trackers will be added)

2) The HTML of the website is downloaded via WebTorrent (which is another awesome project) and displayed in any of the modern browsers

Disclaimer: this is my understanding of the details, there may be some mistakes in what i just wrote in 1 and 2.

* The interesting part of all is that there is no need for additional application. Everything will be done using any of the browsers (Chrome, Firefox,...)

** Bye bye hosting, Bye bye domains, Bye bye domain hoarders, Bye bye centralization ...
920  Other / Off-topic / Do you know C#, then come in, I need criticism on my code. on: October 09, 2016, 03:18:19 PM
TL;DR
Code: https://github.com/Coding-Enthusiast/Watch-Only-Bitcoin-Wallet
Ann: https://bitcointalk.org/index.php?topic=1616888.0

I have made a silly little code with C♯ and i am looking for any kind of feedback/review/criticism/...
See the original review request topic on Reddit here: https://www.reddit.com/r/csharp/comments/56m46e/beginnerreviewcriticize_requestgithub_watch_only/

About the code:
A simple GUI to keep track of bitcoin addresses and their balances, using API, HttpClient, saving file using Xml.Serialization, also I've put lots of effort into the WPF ListView and sorting it.
204 lines of code.

About me:
I am a beginner in programming, also in using GitHub and This is my first serious code that I have published.
I have tried to do everything as it must be done using the learning resources available. But I am sure there are lots of things I still need to learn.
Please take a look. I am open to all kinds of feedback, suggestion, criticism,... both about the code in C♯ , or about the way i have pushed commits to GitHub.



This topic is posted in Off-Topic since I couldn't really think of any other place to ask for reviews. Services board is not appropriate since I am not offering anything in return apart from my gratitude  Roll Eyes
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 37 38 39 40 41 42 43 44 45 [46] 47 48 49 50 51 52 53 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!