Bitcoin Forum
June 07, 2024, 08:39:13 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 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 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 ... 317 »
2341  Bitcoin / Bitcoin Technical Support / Re: Checking Address Balance with Bitcoin Core on: August 09, 2019, 07:22:37 AM
So when walletnotify runs the script where do I get the transaction ID from to use $TX in gettransaction? What happens if theres multiple transactions at once? Will it just run multiple instances or will $tx be returned as an array?

It is being handed over to the script as an argument when calling it (%s is the TXID):

Code:
walletnotify=/path/to/your/script %s


Then it depends on the scripting language how to access it.

For a shell script, you would use:
Code:
$txid = $1

For a php script:
Code:
$txid = $argv[1];


walletnotify will run each time:
  • you receive a transaction associated with your wallet
  • you send a transaction
  • an incoming transaction receives its first confirmation


For X incoming transactions, it will be run 2*X times in total.

Note that you can set up core to be run on the testnet, to see how it exactly behaves and how to make use of it most efficiently.



P.s.
I appreciate that you don't want to use some 3rd party services and want to be in full control over the funds - basically how it is supposed to be.
If you have any concerns or questions, even going further than just setting this up, feel free to ask.
There are a lot of people here who appreciate that engagement and would help you with your questions / concerns.
2342  Economy / Services / Re: Get 5 BTC for proof who Game Protect scammed and for how much? on: August 08, 2019, 01:36:33 PM

Posted several times already.

If you can't read, it is your fault. Learn to read, learn to comprehend what you read.. then look for it again.
If your IQ is higher than the IQ of a slice of bread, you will find it.
2343  Other / Beginners & Help / Re: ⚠️ How Scammer tried to Hack my Bitcointalk and how to Protect yourself?⚠️ on: August 08, 2019, 01:35:01 PM
One more thing.
It is better to use Firefox browser as it shows warnings for this unsecure logins

This does just mean that the website does not use https.
This is definitely NOT an indicator for the authenticity of a website.

I'd expect any phishing site not created by completely incapable people to have a TLS certificate. You can get them for free.
2344  Economy / Services / Re: Get 5 BTC for proof who Game Protect scammed and for how much? on: August 08, 2019, 01:15:49 PM
~snip~


You had 5 clients in 3.5 years and scammed 3 of them.

At least 4 user have shown 4 proofs that you are a scamming piece of sh*t. Are you just trolling or seriously mentally ill ?
2345  Bitcoin / Electrum / Re: How safe are my funds? on: August 08, 2019, 12:33:08 PM
3.3.2 made the messages render as plain text.
3.3.3 fixed the exploit.

You are right, but this makes me wonder why electrum states that versions < 3.3.4 (including 3.3.3) are vulnerable to the phishing message.

Maybe that's just a typo on their website ?
2346  Bitcoin / Bitcoin Technical Support / Re: Checking Address Balance with Bitcoin Core on: August 08, 2019, 12:04:14 PM
Well, you'd call the script with the transaction id as a parameter:

Code:
walletnotify=/path/to/your/script %s

And inside of your script (shell, php, whatever..), you could call
Code:
bitcoin-cli gettransaction $TX

to get all necessary data from the transaction.

Afterwards process the data as you need and/or fill your database.


You wouldn'd directly check whether address X received a transaction, but you'd call that script upon receiving any transaction.
Then using gettransaction, you'd get all necessary information (receiving address, amount, etc.. ) for further processing.
2347  Bitcoin / Bitcoin Technical Support / Re: Checking Address Balance with Bitcoin Core on: August 08, 2019, 11:42:16 AM
If I have thousands of transactions couldnt that cause performance issues if theres payments in many addresses in very short periods of time? I'm trying to build it to scale from the beginning.

While i can't speak out of experience, i don't think you'll have performance issues.

walletnotify and blocknotify execute a shell script upon receiving a transaction / block.

You probably won't be able to process thousands of transactions each minute with a raspberry pi, but since the network can't handle so much itself you shouldn't get any problem with a medicore VPS / whatever you are using.

The current amount of transactions the bitcoin network can handle is at roughly 200 per minute.
Besides the fact that i doubt you alone will fill 50% of all blocks, it definitely should be possible without performance issues.
2348  Bitcoin / Bitcoin Technical Support / Re: Checking Address Balance with Bitcoin Core on: August 08, 2019, 11:21:34 AM
Generate address -> receive payment -> wait for confirmations -> send coins to cold storage and show confirmed payment

Why don't you use the master public key to derive public keys and addresses while the private keys are in cold storage ?
That way, you would directly accept payments into your cold wallet and would save on transaction fees.



Currently I save the address in a database associated with the order and generate it using getnewaddress(). I'm stuck on checking the balance of said address and how many confirmations the payment has.

You could use walletnotify to get notified each time the state of your wallet changes (i.e. transaction received, transaction sent, first confirmation on a TX).
That'd be more efficient than having a cronjob checking the addresses each X seconds/minutes.

If you require more than 1 confirmation, you can combine this with blocknotify, to get notified each time core receives a block.
If walletnotify says that you received 1 confirmation on transaction X, you can be sure the next time blocknotify is called, this TX has one more confirmation.
2349  Bitcoin / Electrum / Re: How safe are my funds? on: August 08, 2019, 11:10:36 AM
Warning: Electrum versions older than 3.3.4 are susceptible to phishing. Do not download Electrum from another source than electrum.org, and learn to verify GPG signatures.
Didn't it used to be versions older than 3.3.3 before? They seem to have changed this sometimes in the past to 3.3.4.
So in theory even users with version 3.3.3 (like OP in this case) could receive the phishing messages!?

AFAIK, the vulnerability was found in 3.3.2 and the update to 3.3.3 didn't completely fix the issue.
So 3.3.4 was the first version which is safe against those phishing message shown by the electrum server.

Therefore, such a message can be shown in 3.3.3, yes.


But since the current version is 3.3.8, no one should actually be using 3.3.3. Unfortunately this is not the case yet.
2350  Other / Meta / Re: Limit signature campaigns on: August 08, 2019, 10:50:58 AM
In the same way as merit started to matter in (some) bounty /signature campaigns, sooner or later those badges may matter too. Also, humans are suckers for badges, you should know that.

While this may be possible, i think this doesn't make much sense, does it ?

(Especially) signature campaigns focus on good post quality.
Merit does - more or less - directly reflect exactly that. Badges for good reports are not an indication for high post quality.

Being a good poster and bringing value in terms of knowledge into this forum does not automatically mean engaging in the 'forum politics' (or call it whatever you want).


But i agree with your last statement, everyone loves shiny internet points  Grin
2351  Other / Beginners & Help / Re: ⚠️ How Scammer tried to Hack my Bitcointalk and how to Protect yourself?⚠️ on: August 08, 2019, 09:25:50 AM
Code:
k.oгgtest
Firefox turns it into this:
Code:
http://www.k.xn--ogtest-pof/
What kind of sorcery is this?

That's no sorcery, but IDNA encoding.

The following cyrillic letter is the cause of that:
Code:
г

This is quite frequently used by phishing sites to deceive others into clicking on a 'known' URL.
That's a known problem with unicode domain names.
2352  Other / Meta / Re: Limit signature campaigns on: August 08, 2019, 09:19:01 AM
Did it occur to you that then people will focus on reporting?

I think that's the point.

The more people start reporting worthless spam posts, the more will be deleted.
And more spam being deleted means people will actually focus on not spamming this forum for a few cents.



Many will report posts that maybe don't need to be reported.
It'll just create another problem imho.

I don't think that would be a huge issue.

From the report-page:
Quote
Do not worry about your accuracy too much; one accurate report is worth many inaccurate reports.

The badges would be for good reports. Reporting 100 posts which shouldn't be reported will not get anyone closer to a badge.
And then the reporting behavior might be changed.

But another requirement for the badges could also fix this potential problem.
Combine a minimum amount of good reports with a minimum amount of accuracy. Then people won't start reporting hundreds of posts just to get a few good ones out of it.
2353  Other / Beginners & Help / Re: Is it possible to send unconfirmed bitcoins on: August 08, 2019, 09:01:14 AM
Is it possible that if my employee sends another transaction with higher fee to my address (which you probably directed), will it reach faster? I'm waiting for the confirmation so that I can start working. But if there's any way of cheating, I would ask him to send again.

If the transaction has the RBF-flag set (Replace-by-Fee), then yes. He could simply bump the fee.

If the flag is not set, you either have to do a CPFP or ask him to send another transaction.
But sending another transaction is not recommended because both may confirm ending up in you receiving the double amount.

So the best (and fairest) options are either a RBF by the sender or a CPFP by you.


And yes, he still can cheat you until it is confirmed.
If the RBF flag is set, he can replace the transaction with another one sending the funds to a completely different address.
That would be even possible without the flag set, even tho being not that easy to achieve.



If possible to send with higher fee, what will happen to the current transaction? Will it remain unconfirmed forever?

If you are refering to bumping the fee (i.e. RBF), nothing will happen.
The bumped transaction will confirm and the old one will never be able to be included into a block.
2354  Other / Beginners & Help / Re: Don't Buy Bitcoin - Earn It (Antonopoulos) on: August 08, 2019, 08:57:08 AM
1. Most jobs where physical attendance is required usually don't pay in Bitcoin, usually because regulation/law

IMO there is nothing wrong with working for FIAT and converting it into bitcoin.

I mean.. you mostly can't earn any other currency than the one used in your country.
But you can exchange your earned money into a different currency.


While the point of view of not treating bitcoin as an investement is good, i don't think working for USD and exchanging it to BTC has to be called investment per se.
If it is the only way to earn BTC.. why not?

In the end it doesn't matter whether you directly get BTC for your work, or FIAT which you then exchange (despite the fact that you'd be boosting the usage of BTC which honestly would be a good thing).
2355  Other / Beginners & Help / Re: Is it possible to send unconfirmed bitcoins on: August 08, 2019, 08:44:37 AM
The transaction can not confirm before the first one does.

However, they can confirm in the same block and you are also able to already use that UTXO.

This is one way to 'boost' a transaction with a low fee. It is called Child Pays For Parent (CPFP).
If you need that transaction to be confirmed fast, create a TX using the unconfirmed UTXO as input and choose a fee which is high enough to pay for both transaction.

If the fee / size of both transactions is higher than other transactions, they will be preferred by the miner and therefore confirm relatively fast.
2356  Bitcoin / Armory / Re: Armory crashes on startup on MAC on: August 08, 2019, 07:15:10 AM
The armory log should (not sure about that since i am not using a mac) be located in

Code:
~/Libary/Application Support/Armory

and is named armorylog.txt.

Use some text-/code- sharing platform to upload it (e.g. pastebin and provide us the URL.
2357  Economy / Scam Accusations / Re: VFarm - Plagiarized Whitepaper on: August 08, 2019, 07:02:53 AM
P.S. I always thought that only DT can influence on reputation by flagging/adding points of trust.

Anyone can create a flag although you would need supports especially from DT members to make the flag active on the users account. The average users support just reflect as a support to the flag but that of DT members influence the outcome of the flag.


To be more precisely, flags are valid if a given number of user in your trustlist support it.
For a type1-flag, that's 1 more supporting than opposing and for a type2/3-flag that's 3 more supporting than opposing.

Since probably the majority of user didn't touch their trust list, DT 1/2 is what counts for them. This also applies to guests.

Generally, it is advised to adjust your trustlist to be less dependent on DT votes.
2358  Economy / Scam Accusations / Re: Payeercoin - SCAM Warning - Plagiarism & Fake Team on: August 08, 2019, 06:59:00 AM
Flag created: https://bitcointalk.org/index.php?action=trust;flag=599
2359  Bitcoin / Development & Technical Discussion / Re: C R Y P T O S T A M P with BITCOIN (solutions? thoughts & questions) - HELP! on: August 08, 2019, 06:52:55 AM
One thing to keep in mind, though, is that these layers on top of Bitcoin (Counterparty, Omni, coloured coins and perhaps there are more) "are" not really Bitcoin (they just use Bitcoin's blockchain for consensus).  So in that sense, an Omni token would not really be a "Bitcoin" stamp.  For a "real" Bitcoin stamp, I think the main / only option is to have essentially funded paper wallets as you described initially; that would be quite boring in comparison, though.

I think that still would be fine.

The original crypto stamp isn't an etherum stamp either, but an ERC-721 token.

Using something like bitcoin / omnilayer should be comparable to ethereum / ERC-token. Or am i missing something ?
I am not really familiar with omni, but as far as i know thats pretty similar ?
2360  Economy / Scam Accusations / Re: ChipMixer is scam now - 1BTC stoled on: August 07, 2019, 01:39:30 PM
ChipMixer is not a scam.

Do you really think they would scam you for 1 BTC ?
Hell.. even for their signature campaign on this forum, they are allocating  ~2 BTC per week.


chipmixerwzxtzbw.onion is definitely the correct URL. That's stated on their clearnet site.


When did you email the support ? Is your session still valid ?
Pages: « 1 ... 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 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 ... 317 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!