Bitcoin Forum
May 08, 2024, 06:24:31 PM *
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]
841  Local / Альтернативные криптовалюты / Re: Terracoin on: January 10, 2014, 06:29:10 PM
существуют ли апихи с курсами валют?
842  Bitcoin / BitcoinJ / Re: Incoming adresses on: October 11, 2013, 12:02:06 PM
Just one thing: Bitcoin does not really have a concept of from addresses. Some clients (including Bitcoin Wallet) try to display them for historic reasons, and they fail at it (sometimes).
Thanks a lot. This is what I need. Grin
This explains why I can't see here: https://lh3.ggpht.com/TDUs8pF0ioyV3hUQreNnGk590do9UM7PYR0Dliso-x7FH0CPcN_lU00CFaqnNk1PtNk=h900-rw real sender adress when I send coins from Windows wallet (which has one adress) of my altcoin network to android wallet.
843  Bitcoin / BitcoinJ / Incoming adresses on: October 10, 2013, 09:15:09 AM
I have modified bitcoinj to some altcoin network. But I have a question. Why do coins receive from different adresses (I am using one client for windows with one adress to send coins). Is it also normal for bitcoin network?
844  Bitcoin / Bitcoin Wallet for Android / Re: "checkpoints" file structure on: September 29, 2013, 09:51:59 PM
It is best described by the class CheckpointManager in bitcoinj. Have a look at the constructor for how the file format is read.

Thanks. I have seen it. And I have a question.
Checkpoint size is 96 (Block.HEADER_SIZE + CHAIN_WORK_BYTES + 4 = 80 + 12 +4). So checkpoint is data of block (header) + chainwork bytes + length.
What data for example is in header?
Which exactly kind of blocks should I chooce for adding as headers? What is chainwork bytes and length?
845  Bitcoin / Bitcoin Wallet for Android / "checkpoints" file structure on: September 27, 2013, 10:22:36 PM
What is "checkpoints" file structure http://i59.fastpic.ru/big/2013/0928/f0/6c9c27c2adbb2a178be2cc294aed35f0.jpg ? I mean what kind of data should be put here? Do any docs about exist?
846  Bitcoin / BitcoinJ / Re: Are "seedAddrs" in "SeedPeers.java" still online? on: September 26, 2013, 12:14:02 AM
Well, if it doesn't work you got them the wrong way around Wink
I have reversed all integers in pnSeed array from https://github.com/bitcoin/bitcoin/blob/0.8.1/src/net.cpp (line 1226). It doesn't work!
Then I simply pasted part of pnSeed to seedAddrs. It works.
So, reverse isn't needed.
847  Bitcoin / BitcoinJ / Re: Are "seedAddrs" in "SeedPeers.java" still online? on: September 25, 2013, 03:59:56 PM
Yes, you have to reverse the integers.
So, my example is correct?
Quote
It is mean that I should write first element "0xe473042e" from pnSeed like "0x2e0473e4" in seedAddrs, doesn't it?
Thanks so much!
848  Bitcoin / BitcoinJ / Re: Are "seedAddrs" in "SeedPeers.java" still online? on: September 24, 2013, 04:53:48 PM
Well, the comment was correct when I first wrote that code. Obviously the C++ code was refreshed at some point (many months ago) but I didn't copy the IPs into bitcoinj.

We should improve the process for refreshing the seed peers. I guess the DNS seeds have sufficient data to calculate which peers are the most stable.
I want to translate part of pnSeed form C++ code to seedAddrs in java bitcoinj.
So what about little-endian and big-endian notation? Are seedAddrs (https://code.google.com/p/bitcoinj/source/browse/core/src/main/java/com/google/bitcoin/discovery/SeedPeers.java lin 87) using little-endian and pnSeed (https://github.com/bitcoin/bitcoin/blob/0.8.1/src/net.cpp line 1226) using big-endian notation whether it is other way round?
It is mean that I should write first element "0xe473042e" from pnSeed like "0x2e0473e4" in seedAddrs, doesn't it?
849  Bitcoin / BitcoinJ / Re: Are "seedAddrs" in "SeedPeers.java" still online? on: September 23, 2013, 10:15:17 PM
I haven't updated them for a long time. Neither has anyone updated the ones in bitcoind.
You said that IPs hadn't been updated for a long time in bitcoinj and in bictoin client for windows. Right?
So can you tell why seedAddrs (https://code.google.com/p/bitcoinj/source/browse/core/src/main/java/com/google/bitcoin/discovery/SeedPeers.java line 87) in bitcoinj differ from pnSeed in bitcoin cpp client for windows (https://github.com/bitcoin/bitcoin/blob/0.8.1/src/net.cpp line 1226) though there (https://code.google.com/p/bitcoinj/source/browse/core/src/main/java/com/google/bitcoin/discovery/SeedPeers.java line 28) is such sentence: "The list comes from the Bitcoin C++ source code"? I can not see concurrences.
Why are you so keen on using the seed nodes?
So all of 200 IPs are stale? Neither are working?
Hm... It will break my suppositions about not correct work of "SeedPeers" class.  Sad
Why am I keep using seed nodes? Because I am trying to modify bitcoinj and I need work throw "SeedPeers" class not throw "DnsDiscovery". Smiley I'll explain more in PM if you are interested.
850  Bitcoin / BitcoinJ / Are "seedAddrs" in "SeedPeers.java" still online? on: September 23, 2013, 03:25:01 PM
I'm trying to use SeedPeers.java in android app for connection to bitcoin network. But it doesn't look normal. I can see in ddms only "Peer died" or "connection timed out": http://i58.fastpic.ru/big/2013/0922/90/d002e868d692611371894ba100c11490.jpg
What is the problem if the "seedAddrs" is online?
851  Bitcoin / Bitcoin Wallet for Android / Re: "SeedPeers" class on: September 22, 2013, 04:24:51 PM
but do you have email of any bitcoinj developer? Bitconj site (http://www.bitcoinj.org/) is down and I still didn't get aswer here: https://groups.google.com/forum/#!forum/bitcoinj Sad

Where did you get that site URL from? Bitcoinj is hosted at http://code.google.com/p/bitcoinj/

In the links section, you'll see a discussion group.
I got site url earlier from the same place: http://code.google.com/p/bitcoinj/
"Got questions? Comments? Patches? Talk to us on the mailing list. You can quickly reach this website via bitcoinj.org. You can read the release notes for each release starting from 0.3."
And I saw earlier discussion group link in links section and discussion group is https://groups.google.com/forum/#!forum/bitcoinj Sad
852  Bitcoin / Bitcoin Wallet for Android / Re: "SeedPeers" class on: September 22, 2013, 04:13:15 PM
I've never used the SeedPeers class. I'd check manually if these IP addresses are still online. As I wrote earlier, perhaps the list of peers needs to be updated in bitcoinj.

Thanks a lot for the reply. I suppose it is not IP addresses problem... but do you have email of any bitcoinj developer? Bitconj site (http://www.bitcoinj.org/) is down and I still didn't get aswer here: https://groups.google.com/forum/#!forum/bitcoinj Sad
853  Bitcoin / Bitcoin Wallet for Android / Re: "SeedPeers" class on: September 22, 2013, 03:32:03 PM
First of all, Bitcoin Wallet does not use WalletAppKit. So your first change should not have any effect.

Second, did you build Bitcoin Wallet for testnet or mainnet? I assume SeedPeers only has mainnet peers, and who knows if they're still online. I'm not sure if they've ever been updated.
First, I have changed "DnsDiscovery" to "SeedPeers" everywhere. Just in case.
Second, yes, I'am using "mvn clean install -DskipTests" for bitcoinj and "mvn install -Prelease -Dskinlyu

I assume SeedPeers only has mainnet peers. Whereas if you build the app from master, you are running on testnet.

From https://code.google.com/p/bitcoin-wallet/source/browse/wallet/README lines(110-114):
Quote
   # each time
   cd bitcoin-wallet
   git fetch origin
   git checkout origin/prod
   mvn clean install -Prelease -Dandroid.sdk.path=<path to your android sdk>
I didn't do that each time. It seems I didn't do that at all! I am using only "mvn install -Prelease -DskipTests".
I have tried to build Productive version again from beginning according https://code.google.com/p/bitcoin-wallet/source/browse/wallet/README
1. I download bitcoinj:
- git clone -b release-0.10 https://code.google.com/r/bitcoinj/ bitcoinj
- cd bitcoinj
- mvn clean install -DskipTests
2. I download Bitcoin Wallet:
- git clone -b master https://code.google.com/p/bitcoin-wallet/ bitcoin-wallet
3. I built Productive version:
- cd bitcoin-wallet
- git fetch origin
- git checkout origin/prod
- mvn clean install -Prelease -DskipTests
4. I changed "DnsDiscovery" to "SeedPeers" in "bitcoin-wallet\wallet\src\de\schildbach\wallet\service\BlockchainServiceImpl.java" (line 405):
line 405: private final PeerDiscovery normalPeerDiscovery = new SeedPeers(Constants.NETWORK_PARAMETERS);
line 406: //private final PeerDiscovery normalPeerDiscovery = new DnsDiscovery(Constants.NETWORK_PARAMETERS);
5. mvn clean install -Prelease -DskipTests
6. I upload file "wallet-3.19.apk" to android virtual device.
7. I saw the same result (only "Peer died" and "connection timed out").
You also can see ddms logs personally here: http://www63.zippyshare.com/v/70937152/file.html

So my question is the same. Does class "SeedPeers" work properly?
854  Bitcoin / Bitcoin Wallet for Android / Re: "SeedPeers" class on: September 10, 2013, 04:43:36 PM
First of all, Bitcoin Wallet does not use WalletAppKit. So your first change should not have any effect.

Second, did you build Bitcoin Wallet for testnet or mainnet? I assume SeedPeers only has mainnet peers, and who knows if they're still online. I'm not sure if they've ever been updated.
First, I have changed "DnsDiscovery" to "SeedPeers" everywhere. Just in case.
Second, yes, I'am using "mvn clean install -DskipTests" for bitcoinj and "mvn install -Prelease -Dskinlyu

I assume SeedPeers only has mainnet peers. Whereas if you build the app from master, you are running on testnet.

From https://code.google.com/p/bitcoin-wallet/source/browse/wallet/README lines(110-114):
Quote
   # each time
   cd bitcoin-wallet
   git fetch origin
   git checkout origin/prod
   mvn clean install -Prelease -Dandroid.sdk.path=<path to your android sdk>
I didn't do that each time. It seems I didn't do that at all! I am using only "mvn install -Prelease -DskipTests".
855  Bitcoin / Bitcoin Wallet for Android / Re: "SeedPeers" class on: September 08, 2013, 11:15:25 PM
First of all, Bitcoin Wallet does not use WalletAppKit. So your first change should not have any effect.

Second, did you build Bitcoin Wallet for testnet or mainnet? I assume SeedPeers only has mainnet peers, and who knows if they're still online. I'm not sure if they've ever been updated.
First, I have changed "DnsDiscovery" to "SeedPeers" everywhere. Just in case.
Second, yes, I'am using "mvn clean install -DskipTests" for bitcoinj and "mvn install -Prelease -DskipTests" for Bitcoin Wallet.
Third, do you mean, they just are idle? Damn it.
856  Bitcoin / Bitcoin Wallet for Android / "SeedPeers" class on: September 08, 2013, 06:01:02 PM
First look in screenshot number one of davlik debug monitor server after running Bitcoin Wallet: http://piccy.info/view3/5090102/7074a1d99a96e67bdbea36a04073c21f/orig/
I suppose, that is normal work of Bitcoin Wallet.
Then I modified bitcoinj and bitcoin-wallet a little bit. I changed bitcoinj\core\src\main\java\com\google\bitcoin\kits\WalletAppKit.java (line 104):
Code:
vPeerGroup.addPeerDiscovery(new SeedPeers(params));
instead
Code:
vPeerGroup.addPeerDiscovery(new DnsDiscovery(params));
and bitcoin-wallet\wallet\src\de\schildbach\wallet\service\BlockchainServiceImpl.java (line 406):
Code:
private final PeerDiscovery normalPeerDiscovery = new SeedPeers(Constants.NETWORK_PARAMETERS);
instead
Code:
private final PeerDiscovery normalPeerDiscovery = new DnsDiscovery(Constants.NETWORK_PARAMETERS);
Look in screenshot number two of davlik debug monitor server after running Bitcoin Wallet to see the result: http://piccy.info/view3/5090104/aaf257fbd618863b16ed99ffb2263e66/orig/
I think, that is not normal work of app because you can see only "Peer died" and "Connection timed out".
So my question is: does class SeedPeers work correct? Maybe, it is not fully implemented?
P.S. Nonetheless, it could still work correct. I just don't have an opportunity to send or receive bitcoins to test Bitcoin Wallet with "SeedPeers" class instead "DnsDiscovery" class. So if you can do that, please do.
P.S.S. I'm not sure it is Bitcoin Wallet problem or bitcoinj problem.
857  Local / Новички / Re: Добро пожаловать в биткоин сообщество on: September 04, 2013, 10:12:19 PM
Привет. Подскажите, после скольких постов на форуме станет доступной ЛС?
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]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!