Bitcoin Forum
May 26, 2024, 12:34:03 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 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 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 »
1081  Bitcoin / Development & Technical Discussion / Re: Comparing Jacobian/Affine points on: April 29, 2022, 10:07:32 PM
Works, thanks!
I am using now "secp256k1_fe_equal_var" and results are indeed like expected.
Good to know there is no one single way to do something.
1082  Economy / Gambling / Re: FreeBitco.in-$200 FreeBTC⭐Win Lambo🔥0.2BTC DailyJackpot🏆$32,500 Wager Contest on: April 29, 2022, 06:08:53 PM
So what is the minimum wagering requirement daily to increase the number of RP exchange to Wheel of Fortune spins

You are not the first one who asks that question, unfortunately there was never a clear answer. Personally I think it may be something like an average from the last x days, week or month.
1083  Bitcoin / Electrum / Re: Electrum can't handle "send to pubkey" inputs on: April 29, 2022, 03:43:32 PM
I just found out Electrum can't handle "send to pubkey" inputs.

Ah! That’s the reason why rpc-explorer does not show balance for any of them! I was going to blame it…
1084  Local / Polski / Re: Rosja - Ukraina on: April 29, 2022, 03:01:32 PM

A polska giełda jest niedowartościowana, bo jest tam za dużo państwowych i około-państwowych spółek. Rosyjska giełda nawet w zeszłym roku jeszcze gorzej była niedowarościowana. Jak miernoty rządzą to strach inwestować.


Mały off-topic, ale musiałem się odnieść do tego zdania - dokładnie tak panie kolego!
Pamiętam niestety jak bolesna była dla mnie polityka Tchórzewskiego i zwalanie ceny Energii (że o zatrzymaniu dywidend nie wspomnę), a potem sprzedanie "poniżej ceny godziwej ;-)" Orlenowi. A mogłem od razu zamiast Energii kupić krypto...
1085  Local / Tablica ogłoszeń / Re: Cashify - sieć kantorów kryptowalut on: April 29, 2022, 02:57:24 PM
Przyłączam się do powyższych pytań!
Niechaj odpowiedzi będą poprawne to wkrótce się może spotkamy Wink
Niechaj dział marketingu czy też kontaktu z klientami wykaże się efektywnościa i nawiąże kontakt z potencjalnymi klientami na forum, mam nadzieję że nie było to jednorazowe konto na wrzutkę reklamową.
1086  Bitcoin / Project Development / Re: LoyceV's small Linux commands for handling big data on: April 29, 2022, 02:51:15 PM
Keep the records that are 131 and 66 characters long. 131 chars are for the uncompress pubkey and 66 chars for the compressed pubkey. The uncompressed pubkey prefix is 04 and the compressed pukey is 02 or 03.
This one is 130 characters:
Code:
0405eec604993048314294f7c1f9b45c3ed8424ef940426336153831f8813228a788f845e1df353c2021174573e33f2fab05d94e1dd5e5449832ec83ac3d5db17e
The compressed ones are indeed only half the size. But I meant the ones where the length varies by only 2, which is probably caused by truncating the first 148 characters.
Could it be the 148 characters isn't always the same?
Compare those 2:
Code:
483045022100a83ca95b6b3153c5fce971c1eebbeebc892ba6c297157c326a8359c9b408ce1902201904060ce4e1fbd455403546232779dc9ca7bfe3582d3055270f27f245575d0901410421557041f930252b79b0fa28e6587680053b3a3672ff0c1dca6a623c79bdc0b6125a7a2be5450e28e49731ba8f60231dd8eceeff170923717d97a1ca5a67acd4
47304402202a6531662b10fdc9d4b4e7ada1a4db2cdba6e0d22155ebbcedb8545a9ddfd1170220760a431d5eac0f32e8f6fc5812cc9ea5c1530eac37f11768288185bb87cba3ea01410421557041f930252b79b0fa28e6587680053b3a3672ff0c1dca6a623c79bdc0b6125a7a2be5450e28e49731ba8f60231dd8eceeff170923717d97a1ca5a67acd4

Hmmm
It is not like leading zero removed somewhere during the process?
I though pubkeys should always have 65 or 33 bytes (including the one for flag).
1087  Economy / Gambling / Re: FreeBitco.in-$200 FreeBTC⭐Win Lambo🔥0.2BTC DailyJackpot🏆$32,500 Wager Contest on: April 29, 2022, 08:27:19 AM
But has anyone tried to convert their RP for WoF? How good is the result?

Yes, I do it everyday. Just as a add-on to my daily 7 spins (+1 from email), so I have 9 in total.
No, it does not bring a fortune, hehe Wink

If yo assume it brings back RPs or minimum amount of sats, let's say 50/50, it is still worth to consider doing it, even if you plan to have 100kRP for an exchange to sats.
1088  Local / Polski / Re: Ogólne rozmowy na temat kampanii sygnatur on: April 28, 2022, 07:33:02 AM
ponieważ @cryptovigi zdecydował się ponownie pisać w naszym lokale i przez ten krok może okazać więcej aktywności na forum, być może dobrym pomysłem dla ciebie byłoby przejście na kampanię sygnaturową, która jest płatna w BTC Wink - nie wiem, czy twoja aktualna kampania IDENA jest nadal aktywna, czy już została zakończona...
ale ja bez zastanowienia zmieniłbym ją Cool

Zwłaszcza że ostatnio pojawiły się dwie interesujące pozycje. W tym jedna bez minimalnej ilości postów!
1089  Bitcoin / Development & Technical Discussion / Comparing Jacobian/Affine points on: April 28, 2022, 07:31:07 AM
Hello,

Please correct me if I am fundamentally wrong, but recently I was wondering about one thing - is it possible to somehow compare points from two different representations? We know that theoretically Affine point (xa,ya) could come from operations on Jacobian point (xj/zj^2, yj/zj^3). On the other hand, Jacobian (x,z,y) from Affine would be just (xa, ya, 1).

I would like to compare Affine point (AP) with a given Jacobian point (JP) - or at least exclude possibility that JP would be converted into given AP.

In other words: https://github.com/bitcoin-core/secp256k1/blob/master/src/secp256k1.c
We have JP (secp256k1_gej) and to receive "well-known" public key (through secp256k1_ge), we must launch launch:
Code:
secp256k1_ec_pubkey_create_helper + secp256k1_pubkey_save
which basically is (forget variables names, operations are important):
Code:
secp256k1_fe_sqr(&zi2, zi);
secp256k1_fe_mul(&zi3, &zi2, zi);
secp256k1_fe_mul(&r->x, &a->x, &zi2);
secp256k1_fe_mul(&r->y, &a->y, &zi3);

secp256k1_fe_normalize_var(&ge->x);
secp256k1_fe_normalize_var(&ge->y);
secp256k1_fe_get_b32(pubkey->data, &ge->x);
secp256k1_fe_get_b32(pubkey->data + 32, &ge->y);

Now, the question is:
Is there any step where I may stay (or operations I may skip) in that path (Jp->AP pubkey), if for a given generated Jacobian Point (secp256k1_gej) I want to exclude/ (or confirm) possibility that JP will == known public key? If I convert my pubkey into secp256k1_ge, which is basically (x, y, 1), may I compare it with unprocessed secp256k1_gej ?

1090  Bitcoin / Development & Technical Discussion / Re: Checking brainwallet on: April 28, 2022, 06:51:38 AM
Ah, OK, so you want something really easy.
I did something like that for myself, just a reading lines from file and checking in local database of founded addresses.
If you want to check if it was founded any time in the past, it is just a matter of DB. Take from Loyce, whatever you want Wink
I may share the code or if you want I may modify it for you.
I have used postgresql local DB.

Code:
package wif;

import org.bitcoinj.core.Base58;
import org.bitcoinj.core.ECKey;
import org.bitcoinj.core.LegacyAddress;
import org.bitcoinj.core.NetworkParameters;
import org.bitcoinj.params.MainNetParams;
import java.io.*;
import java.security.InvalidAlgorithmParameterException;
import java.security.InvalidKeyException;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.sql.*;
import java.util.Arrays;
import java.util.Date;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

public class Brain {

    static final NetworkParameters NETWORK_PARAMETERS = MainNetParams.get();
    static final int STATUS_PERIOD = 1000*60*1;
    static MessageDigest messageDigest;
    static Statement statement;

    static boolean RESULT = false;

    public static void main(String[] args) throws NoSuchAlgorithmException, InvalidAlgorithmParameterException, InvalidKeyException, IOException, InterruptedException {

        db();

        messageDigest = MessageDigest.getInstance("SHA-256");
        String filename=args[0];
        int skip = 0;
        if (args.length>1){
            skip = Integer.valueOf(args[1]);
        }
        FileReader fileReader = null;
        try {
            fileReader = new FileReader(filename);
        } catch (FileNotFoundException e) {
            System.err.println("not found: " + filename);
            System.exit(-1);
        }
        long count = 0;
        long start = 0;
        System.out.println("Brain start");
        try {
            BufferedReader bufferReader = new BufferedReader(fileReader);
            String line;
            //test
            System.out.println(checkAddressDatabase("16jY7qLJnxb7CHZyqBP8qca9d51gAjyXQN"));
            while ((line = bufferReader.readLine()) != null) {
                if (line.trim().isEmpty()){
                    continue;
                }
                count++;
                if (skip>0){
                    if (count<skip) {
                        continue;
                    }
                    skip = 0;
                }
                test(line);
                test(line.toLowerCase());
                test(line.toUpperCase());
                if (line.endsWith(",")){
                    line=line.substring(0, line.length()-1);
                    test(line);
                    test(line.toLowerCase());
                    test(line.toUpperCase());
                }
                if (System.currentTimeMillis()-start > STATUS_PERIOD){
                    System.out.println("UP!"+count+" "+ line + " " + (new Date()));
                    start = System.currentTimeMillis();
                    count = 0;
                }
            }
        }catch (Exception e){
            System.err.println(e.getLocalizedMessage());
            System.exit(-1);
        }
        System.out.println("Brain end");
    }

    private static void db() {

        try{
            Connection connection = DriverManager.getConnection("jdbc:postgresql://localhost:5433/bitcoin", "postgres", "pass1234");
            System.out.println("Connected to PostgreSQL database!");
            statement = connection.createStatement();
        }catch (Exception e){
            System.out.println(e.getMessage());
            System.exit(-1);
        }
    }

    private static void test(String text) throws IOException, SQLException {
        messageDigest.update(text.getBytes("UTF-8"));
        ECKey ecKey = new ECKey(messageDigest.digest(), (byte[])null);
        String address = LegacyAddress.fromKey(NETWORK_PARAMETERS, ecKey).toString();
        System.out.println(address+":"+ecKey.getPrivateKeyAsWiF(NETWORK_PARAMETERS));
        if (1==1){
            return;
        }
        if (checkAddressDatabase(address)){
            System.out.println(address);
            System.out.println(text + "|" + ecKey.getPrivateKeyAsHex()+"|"+ecKey.getPrivateKeyAsWiF(NETWORK_PARAMETERS)+"|"+address);
            FileWriter myWriter = new FileWriter("brainResult.txt", true);
            myWriter.write(text + "|" + ecKey.getPrivateKeyAsHex()+"|"+ecKey.getPrivateKeyAsWiF(NETWORK_PARAMETERS)+"|"+address);
            myWriter.close();
        }
        ecKey = PrivateKey.fromBase58(NETWORK_PARAMETERS, getCompressedWif(ecKey.getPrivateKeyAsHex())).getKey();
        address = LegacyAddress.fromKey(NETWORK_PARAMETERS, ecKey).toString();
        if (checkAddressDatabase(address)){
            System.out.println(text + "|" + ecKey.getPrivateKeyAsHex()+"|"+ecKey.getPrivateKeyAsWiF(NETWORK_PARAMETERS)+"|"+address);
            FileWriter myWriter = new FileWriter("brainResult.txt", true);
            myWriter.write(text + "|" + ecKey.getPrivateKeyAsHex()+"|"+ecKey.getPrivateKeyAsWiF(NETWORK_PARAMETERS)+"|"+address);
            myWriter.write("\r\n");
            myWriter.close();
        }
    }

    private static String getCompressedWif(String hex){
        String string = "80"+hex+"01";
        byte[] digest = messageDigest.digest(hexStringToByteArray(string));
        String checksum  = bytesToHex(messageDigest.digest(digest)).substring(0,8);
        byte[] data = hexStringToByteArray(string + checksum);
        return Base58.encode(data);
    }

    private static boolean checkAddressDatabase(String address) throws SQLException {
        ResultSet resultSet = statement.executeQuery("SELECT balance FROM public.adress WHERE address='"+address+"'");
        while (resultSet.next()) {
            return true;
        }
        return false;
    }

    private static String bytesToHex(byte[] bytes) {
        StringBuffer result = new StringBuffer();
        for (byte b : bytes) result.append(Integer.toString((b & 0xff) + 0x100, 16).substring(1));
        return result.toString();
    }

    private static byte[] hexStringToByteArray(String s) {
        int len = s.length();
        byte[] data = new byte[len / 2];
        for (int i = 0; i < len; i += 2) {
            data[i / 2] = (byte) ((Character.digit(s.charAt(i), 16) << 4)
                    + Character.digit(s.charAt(i+1), 16));
        }
        return data;
    }
}
1091  Economy / Gambling / Re: FreeBitco.in-$200 FreeBTC⭐Win Lambo🔥0.2BTC DailyJackpot🏆$32,500 Wager Contest on: April 27, 2022, 08:58:59 PM

Thanks! I was not sure what is the name of parameter I look for: Circulating Supply ;-)

So, there was a time when it was >$0.10, eh...
1092  Economy / Gambling / Re: FreeBitco.in-$200 FreeBTC⭐Win Lambo🔥0.2BTC DailyJackpot🏆$32,500 Wager Contest on: April 27, 2022, 06:03:29 PM
Where may I find information about Fun tokens - distribution, amount on market, possession etc?
1093  Bitcoin / Development & Technical Discussion / Re: Checking brainwallet on: April 27, 2022, 05:59:13 PM
What performance do you expect to have?
Is it a big problem to launch program per gpu or you need something for many gpus at the same time?
How big address database do you expect to have?
1094  Bitcoin / Bitcoin Discussion / Re: How many CODERS has Bitcointalk? on: April 27, 2022, 09:23:19 AM
AFAIK many Bitcoin contributor already left Bitcointalk either because forum isn't best place for technical discussion or increasing spam amount. Development & Technical Discussion these daus and 10 years ago has very different active member and topic.

I guess there is a difference between forum for flight engineers and for people who just fly from time to time for holidays. Probably something like that happened to that forum.
Is it bad? I do not think so, as still we must remember the main idea was to adopt it as much as possible.
1095  Economy / Gambling / Re: FreeBitco.in-$200 FreeBTC⭐Win Lambo🔥0.2BTC DailyJackpot🏆$32,500 Wager Contest on: April 27, 2022, 09:18:32 AM

To roll the 10000 the chance is surely not one in 10k. I have free rools played 21,411 so far. To roll 9994 or above the chance is 0.07%, so by chance I should have hit 9994 or above ca. 15 times. As far as I remember it occurred 1 or 2 times so far.
With this "provably fair" thingy I can only check the number I rolled but not the likelihood of its occurrence and so this is completely nonsense.
The only site I rolled the 10k 2 times is from dutchycorp and I can tell you why this happened, becourse the winning is 25 cents. This is affordable for the site owner - right?
If every 10000th roll would win 200$ than freebitco would be bankrupt within one day I guess.


The odds of rolling the highest number are only one in 20k. Wheel of fortune spins count as free rolls and that will inflate your stats and make it seem like you’ve made a lot more faucet claims.  

I did not use that many wof spins maybe 400 or 500 so not much inflation there so far, but where did you get that information with that one in 20k chance? Is it given on the site anywhere?

Indeed, it is not easy to find that information. You must click on "i" in upper right corner of single WOF page, than you will see:


So it seems it is really not easy to win any item like Card/Phone/Watch
1096  Alternate cryptocurrencies / Pools (Altcoins) / Re: litecoinpool.org - Why does my Worker speed show 0? on: April 27, 2022, 09:14:05 AM
Hey ya'll,

I'm assuming ( I know, that's a bad place to start ) that the Speed of my Worker should be updating approximately every min, according to the website...
But its showing 0 and my miner is saying my avg is 3Gh/s... so, am i missing something?

Maybe it is misconfigured? That same like your post is in wrong place, I assume you wanted to post there:
https://bitcointalk.org/index.php?board=41.0

Bitcoin Forum > Bitcoin > Mining > Pools
1097  Economy / Gambling / Re: FreeBitco.in-$200 FreeBTC⭐Win Lambo🔥0.2BTC DailyJackpot🏆$32,500 Wager Contest on: April 26, 2022, 06:20:27 PM
I won today



Image not visible, error "Site suspended due to abuse".
Why not to use imgbb ?

By the way - end of month is coming, BTC goes up and down and down again... Today I am glad I bet on "37.5-40", but still all is possible - both <37.5 & >40.
1098  Bitcoin / Electrum / Re: Installing my own Electrum server on: April 26, 2022, 06:18:04 PM
My own wallets don't have large histories. From time to time I like to do some blockchain analysis or kind of "investigations", nothing professional. With electrs when you stumble over Bitcoin addresses with large histories you quickly run into trouble. You can tweak electrs to some extend, but to me it seems it's not well suited for this OR I never was able to figure it out how to do it with electrs.

I must agree, but as I did not investigate btc-rpc-explorer, I do not know whos fault it is.
Sometimes it does not display balance at all, sometimes not during first check (after page refresh it is ok).
1099  Bitcoin / Development & Technical Discussion / Re: BitCrack - A tool for brute-forcing private keys on: April 26, 2022, 06:11:34 PM
GeForce RTX 3060 Laptop GPU


cuBitCrack.exe

-b 82 -t 256 -p 2096
704.18 MKey/s [00:00:25]

Do you mean build-in card or eGPU?

I have eGPU RTX 3060 and with these settings I have 800Mkey in peak, stable 780-790:


I use https://github.com/PawelGorny/BitCrack-3000 (forked from NotATether)
1100  Economy / Gambling / Re: FreeBitco.in-$200 FreeBTC⭐Win Lambo🔥0.2BTC DailyJackpot🏆$32,500 Wager Contest on: April 26, 2022, 01:13:12 PM
Didn't get enough time to post last week as I was on travel but great news ! I just won the high reward of 3800 Sats again last week.
Even this time it was from the free WoF spin that we get on our mails. So that's twice in 3 weeks that I got the high reward.
I am feeling quite lucky since winning high reward in a short interval doesn't happen generally these days.


O, I do not remember when last time I won something more than minimal RP/sat. Good for you!
I have started buying WOFs for RP every day, but usually I get my RPs back Wink
Pages: « 1 ... 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 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 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!