Bitcoin Forum
August 01, 2024, 01:46:48 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 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 ... 753 »
201  Bitcoin / Wallet software / Re: Wallet Features That Are Missing but Essential on: November 09, 2021, 10:41:00 PM
CheckMultiSigVerify OP
So you change OP_CHECKSIGVERIFY to another OP_CHECKMULTISIG as pooya has said,
You're right. I had not considered that.

Although you are still limited as to how many potential signers there are in a script (this is my understanding), and there is still the issue of having to change keys whenever an employee leaves, and changing keys with multi-sig means that a transaction is required, including the cost of said transaction.

Also, the employees need to be in a location specified by the employer in order to sign a transaction when using SSS with my setup. If a group of employees are fired for misconduct, as long as you can keep them outside of the room containing the computer used to sign transactions (and otherwise limit their access to said computer), your private keys are safe.

In my scenario, a company computer most be used to access the secret. Using a computer that is not the specific computer designed by the computer to calculate the secret will result in useless information. This allows the company to log any transactions that are signed, including which employees are approving the transaction.
So you set up the multi-sig as above to absolutely require one signature which is stored only on a company computer, and set it up so the company computer will not accept PSBTs but will only accept unsigned transactions and employees connecting their hardware wallets to sign with their relevant keys.
If you are using multi-sig without sharing keys, the company could just look at the blockchain, specifically the signature of the transaction to see who signed the transaction.
202  Other / Meta / Re: Some members are more priviledged than others? on: November 09, 2021, 03:45:26 AM
This thread is an example of certain people believing they are above the rules, can do whatever they want, and see above the rest of the community.

The thread in question hasn’t been updated in months (except for an attempt to exploit what certain people believed was a loophole). The purpose of the thread in question is not to protect forum members. The purpose is to upset forum members (aka troll).
203  Bitcoin / Wallet software / Re: Wallet Features That Are Missing but Essential on: November 09, 2021, 02:38:38 AM
Multi-sig treats all signing keys equally.
Not necessarily. You could use something like:

Code:
<manager pubkey> OP_CHECKSIGVERIFY OP_1 <employee pubkey 1> <employee pubkey 2> <employee pubkey 3> OP_3 OP_CHECKMULTISIG

This will essentially create a 2-of-4 multsig, but it requires the manager to be one of those two.
If you do that, you must have a single manager and cannot have one of multiple managers sign off on a transaction.

You are also limited to one mandatory person and a second group of people. With SSS, you can have an arbitrary number of groups of people required to access the ultimate secret.

Quote

It also allows for logging of who is signing off on transactions, which is not possible using a 2-of-2 multisig when keys are shared.
Can you elaborate? In your example, any 3 of the 24 SSS shares will recover the same secret. You don't know if A+B+C combined to recover the secret or if it was D+E+F.
In my scenario, a company computer most be used to access the secret. Using a computer that is not the specific computer designed by the computer to calculate the secret will result in useless information. This allows the company to log any transactions that are signed, including which employees are approving the transaction.

This is not cryptographically provable, however the same can be said about other business records generated by companies. 
204  Bitcoin / Development & Technical Discussion / Re: The Lightning Network node experience on: November 09, 2021, 02:20:20 AM
Most of my fees are 1 or 2 sat. I have it set to minimum.

I have recently set my fees to 0/0 for some of my channels because they become totally unbalanced.

When your channel becomes unbalanced, you can reduce the fees on the unbalanced side so that you will receive transactions on the side that has a low balance.

You can also use dynamic pricing so that as one side gets low, the fee rate will change to encourage transactions to be routed to that side of the channel.
205  Bitcoin / Project Development / Re: On-Chain Analytics Tools Project on: November 09, 2021, 12:17:00 AM
Hello,

The first thing I can think of is a github and/or a webpage of the project.

Usually bitcoin enthusiasts will  prefer open-source projects, and certainly anyone will appreciate a website where we can see more information about the project.
The OP appears to be interested in licensing his software. As such, it would not really be possible to have a publicly facing GitHub repo. If he had one, anyone could clone his project and use his software for free.
206  Bitcoin / Development & Technical Discussion / Re: How faster transactions can be implemented on: November 08, 2021, 11:16:40 PM
If I am not mistaken, to calculate the chances of x or more events over an interval when y events are expected, you can do one of two things:
If x is sufficiently small, you can plug (x - 1) and y into the Poisson formula, note the resulting probability, repeat with x being decreased by an additional 1, noting the result, and repeating until you note the result after x = 0. The sum of the probabilities subtracted from one is the resulting probability.

For larger x values, you can plug x and y into the Poisson formula, note the resulting probability, repeat with x being increased until x is 4 standard deviations away from y (for Poisson distributions, one standard deviation is the square root of the expected value, or y in my example), and the sum will be within 0.1% of the actual probability, or you can continue until 5 standard deviations from y, and the sum of the resulting probabilities will be within 0.00006% of the actual probability.
207  Bitcoin / Wallet software / Re: Wallet Features That Are Missing but Essential on: November 07, 2021, 09:25:28 PM
At a bank, in order to access cash, you must have one person from one set of employees, and another from another set of employees to open a vault/safe (some employees are assigned a small amount of cash they are personally responsible for so they can handle smaller transactions).
Which can all be achieved more securely with multi-sig than it can with SSS.
Multi-sig treats all signing keys equally. So the only way to implement forcing two different groups of people needing to sign is via a 2-of-2 multi-sig with all members of each group sharing the same key.

With SSS the setup could be as follows:
A 3-of-24 SSS unlocks 1 of a 2-of-2 SSS secret[1]
The 2-of-2 SSS secret named "[1]" above is used to unlock a second 2-of-2 SSS secret[2] that is the private key(or xprvkey).
The second secret needed to unlock [1] is stored on the computer kept in a secure location in which it is difficult for employees to access.
The second secret needed to unlock [2] can be derived from a 2-of-3 SSS used by a different group of people (such as the managers)
In the event an employee leaves the company, a new 2-of-3 SSS[3] is created with one being the output of a new 3-of-24 SSS, one being stored on the above described computer, and one being destroyed.
After [3] is created, the secret for [1] is destroyed on the above described computer.
Alternatively, [3] could be a 3-of-3 SSS in which two of the 3 secrets are stored on the above described computer, and one is derived from the new 3-of-24 SSS for the employees.
Which is a ridiculously complicated scenario, even more so when you start needing to replace some secrets. As I said above, this overly complicated scenario is far more error prone and far more likely to lead to information being leaked or accidentally exposed, even before you consider the many inherent weaknesses in SSS when compared to multi-sig.
Most of the above can be automated, including the replacing of the secrets. It also allows for logging of who is signing off on transactions, which is not possible using a 2-of-2 multisig when keys are shared.
208  Bitcoin / Wallet software / Re: Wallet Features That Are Missing but Essential on: November 07, 2021, 04:36:07 PM
I would echo Dave's concerns about "protecting" children's money. If your child is growing up, as a parent, you need to "let" them fail so they will learn.
Maybe, maybe not. Maybe I would be ok with my kid losing their monthly allowance of 0.0025 BTC so it teaches them a lesson about a security, but I don't want them to lose their college fund of 2.5 BTC.
A college fund is for well, college. As such, the child should not have access to his or her college fund until he or she is old enough to attend college. At that point, he or she will hopefully learned how to sufficiently protect his or her money.

So I guess a 2-of-2 multi-sig would be better than my simple example, but shamir shared secret is superior to more complex scenarios that might be more realistic in the corporate world.
I disagree. A 2-of-2 multi-sig is obviously better in the example discussed above, but in more complex scenarios I fail to see any corporate entity setting up a 3-of-24 SSS and a 2-of-3 SSS, and combining them in to a 2-of-2 multisig as you have described. You need either everyone working in the same office, or you need to take significant additional and costly security precautions and yet still expose yourself to significant additional risks. It is far more complex to set up and far more cumbersome to use. More likely is that employees would simply send a written request to the managers (maybe even signed with their PGP keys for authenticity purposes), who would then approve the request and sign a transaction from their managerial x-of-y multisig.
At a bank, in order to access cash, you must have one person from one set of employees, and another from another set of employees to open a vault/safe (some employees are assigned a small amount of cash they are personally responsible for so they can handle smaller transactions).

Employee turnover is another risk to multi-sig. Anytime an employee leaves the company (especially if they are fired), the company would need to move their bitcoin to a new multi-sig address to reduce the risk their bitcoin will be stolen by a combination of rouge ex-employees.
This applies equally to SSS. A quorum number of ex-employees could combine their secrets to recover the wallet.
With SSS the setup could be as follows:
A 3-of-24 SSS unlocks 1 of a 2-of-2 SSS secret[1]
The 2-of-2 SSS secret named "[1]" above is used to unlock a second 2-of-2 SSS secret[2] that is the private key(or xprvkey).
The second secret needed to unlock [1] is stored on the computer kept in a secure location in which it is difficult for employees to access.
The second secret needed to unlock [2] can be derived from a 2-of-3 SSS used by a different group of people (such as the managers)
In the event an employee leaves the company, a new 2-of-3 SSS[3] is created with one being the output of a new 3-of-24 SSS, one being stored on the above described computer, and one being destroyed.
After [3] is created, the secret for [1] is destroyed on the above described computer.
Alternatively, [3] could be a 3-of-3 SSS in which two of the 3 secrets are stored on the above described computer, and one is derived from the new 3-of-24 SSS for the employees.

As long as the old secrets stored on the above described computer are destroyed, it would be impossible for former employees to use their secrets to get any meaningful information.
209  Bitcoin / Development & Technical Discussion / Re: How faster transactions can be implemented on: November 07, 2021, 04:07:59 PM
However when determining if the amount of time is acceptable for a retail establishment in terms of payment confirmation, it is more complex than the worse case scenario for when the next block will be found.
I don't understand this. Do you want to belie the Lightning Network? Which part of it is more complex and by who?
LN is far superior to a hypothetical coin with a one-minute block time that has the security of bitcoin. Provided there is an available route, a transaction will be completed nearly instantly. Further, a transaction completed on LN will have the security of 6+ confirmations as of the second it is completed.

If there is some reason why using LN is not feasible, there are ways for a business to make waiting potentially 3-5 minutes not a negative customer experience, while not giving up security. A business can do this by engineering their process such that the customer will send a payment with sufficient time before the business would be able to provide the product to the customer.

It is important to note that the average block time is going to be twice the average amount of time until the next block at any given time. So on average, over many transactions at an establishment, if the average block interval is 1 minute, the average amount of time until the next block is found will be 30 seconds -- about half the time it will be less than 30 seconds, and about 1/2 the time it will be longer.
This is not accurate. Mining is a Poisson process, which is memoryless. It doesn't matter if it has been 1 second or 1 hour since the last block; the average amount of time to the next block is always the same (1 minute in your example). With a 1 minute block time, the chance of mining a block in the next 30 seconds is 39.3%, not 50%.
I ran some tests, and you're right. I stand corrected.
210  Other / Meta / Re: Some members are more priviledged than others? on: November 07, 2021, 03:36:18 PM
I would tell nutildah to cut the shit and move on. It is not appropriate for your thread to be in currency exchange. This is not going to kill you. This is not something worth getting banned over.
I am not sure doing such [moving topics] is a bannable offence. Even if it is then it should be handled case by case basis. nutildah is a valuable user for the forum.
If you break any rule enough times, you will eventually get banned. I am not calling for a ban, I am just laying out the facts about what will happen next if current trends continue.

Quickseller and suchmoon never gone side by side. I wonder how hard it's to hit the ignore button for you two 🤪
Suchmoon apparently doesn't like me warning nutildah to stop breaking the rules. I don't particularly like nutildah, but I am not trying to get him banned. So she accuses QS and PN7 of sockpuppeting for saying two very different things.


O/T:

On a note, has PN7 or Quickseller ever admitted they are the same person? I never found any.
You are not going to find any.
211  Other / Meta / Re: Some members are more priviledged than others? on: November 07, 2021, 02:46:08 AM
Suchmoon sees nutildah as expendable. She doesn’t care if he gets banned. She posts nonsense with the hopes that he will ignore my very specific warnings about what will happen if he continues to move his thread, hoping that the mods will blufff, but also not risking anything in terms of consequences if nutildah does get banned.

It should go without saying that suchmoon is not honest and doesn’t care about anyone except herself.
212  Other / Meta / Re: Some members are more priviledged than others? on: November 07, 2021, 02:27:18 AM
OP was banned for repeatedly moving his thread into the currency section when it doesn't belong there.
Based on my professional interactions in the business world, there is a very high probability that the OP is either an admin or a moderator trying to give advice to nutildah. If not this quoted post is most certainly a warning to nutildah.

I would tell nutildah to cut the shit and move on. It is not appropriate for your thread to be in currency exchange. This is not going to kill you. This is not something worth getting banned over.
213  Economy / Economics / Re: Fed will shrink liquitity on: November 07, 2021, 02:16:59 AM
The fed is currently engaging in QE, and will likely continue doing so for at least another 9 months based on their current plan. They won’t raise interest rates until after QE is stopped (or at least until they stop purchasing additional bonds).

For the fed to remove liquidity, they will need to either raise short term interest rates, or be a net seller of bonds (selling a bond would include redeeming it at maturity and not purchasing an equivalent amount). It appears it will be a long time until either of these will happen.

As long as the fed is either adding liquidity, or not removing liquidity, we will see additional speculation in financial markets.

It has also been noted that there are no capital controls throughout the west (eg europe), so if the ECB is engaging in QE, it is the same as if the fed was engaging in QE.
214  Bitcoin / Development & Technical Discussion / Re: How faster transactions can be implemented on: November 07, 2021, 12:49:20 AM
As has been mentioned by multiple people (including myself), LN is superior for retail transactions.

However when determining if the amount of time is acceptable for a retail establishment in terms of payment confirmation, it is more complex than the worse case scenario for when the next block will be found.

It is important to note that the average block time is going to be twice the average amount of time until the next block at any given time. So on average, over many transactions at an establishment, if the average block interval is 1 minute, the average amount of time until the next block is found will be 30 seconds -- about half the time it will be less than 30 seconds, and about 1/2 the time it will be longer.

From an operational standpoint, it is important to understand where the bottlenecks are, and how long they are. At a coffee shop for example, there are bottlencks at the line to place an order, and at the barista who is making various orders. In my experience, there is a longer bottleneck at the barista than there is to place an order. This means if there is a 1 minute block interval, the coffee shop could direct the customer to proceed to the waiting area after 5 seconds when the coffee shop is confident the transaction will confirm in the next two blocks. While the coffee shop is waiting for a confirmation, the order can be placed in the queue (as is the case today with cash/credit card txns), and once the order reaches the front of the queue, if the txn has not yet confirmed, it can be moved back one place in favor of another order (or the coffee shop can elect to accept the unconfirmed txn provided certain criteria is met, such as no blocks being found, and no recent double spends against them).

There is a similar bottleneck at fast food restaurants, and a similar procedure can be implemented. At dine-in restaurants where payment is typically made after the meal is consumed, waiting 5 or 10 minutes for a confirmation should not be a major concern.

A retail establishment is more complex. There is currently a single bottleneck and that is waiting in line for the clerk to "ring up" the items a customer is buying. In addition to "ringing up" items, clerks will also place purchased items in bags. One solution might be for the customer to "scan" the items being purchased prior to interacting with the clerk, paying for the items via a txn, and by the time the clerk has finished placing all items in bags (which will not happen until the clerk has placed all previous customers' items in bags), hopefully the txn will have confirmed.
215  Economy / Exchanges / Re: [OFFICIAL]Bitfinex.com first Bitcoin P2P lending platform for leverage trading on: November 07, 2021, 12:28:00 AM
Was your transaction non-standard or unusual in any way? Are you comfortable sharing the txid and blockchain the deposit was sent to?

I don't think bitfinex is very active on bitcointalk, but you can try posting on twitter and you might get their support's attention.
216  Other / Meta / Re: [TOP-200] The most generous users giving merits on: November 07, 2021, 12:24:54 AM
Monthly update.

Wow! Since the merit system was introduced on January 24, 2018, all members have sent over 1 million merits! This is undoubtedly a noticeable milestone for the forum. I'm glad the system is working properly. Roll Eyes


My calculations might be off, but I believe this is the post that received the 1,000,000th merit. Congrats to Phil_S


<From here on, he won’t receive any more Merit Source sMerits, no matter how much time goes by (*), until he regains his sending activity - and then it is as depicted above>

As far as I understand, if a merit source is inactive on the forum for a long time, his sMerit bank does not replenish, gradually decreases and probably becomes empty, so he needs to boost it to the maximum allowed value by sending merits again.
My monthly source merit bank is 100 merit. The second that theymos updated my source merit to this allocation, this was my available source merit amount. Some amount of time after theymos updated my source merit allocation to 100 merit, I spent some of my source merit, and exactly 30 days after I spent this source merit, the amount of merit I spent will be returned to my merit source allocation exactly one time.

The monthly merit source allocation is set manually by theymos, although he likely used some algorithm to calculate each sources allocation. Each sources allocation is not going to change without some kind of intervention by theymos.

These are the monthly statistics for October 2021 below.



The most generous users giving merits (October 2021)

37)Quickseller130 (in 66 txns to 47 users)35 (in 22 txns from 14 users)112 (max 113)
I have to say that I am proud of my work.

I am curious to see the stats for the year and/or 12 month rolling stats.
217  Bitcoin / Wallet software / Re: Wallet Features That Are Missing but Essential on: November 06, 2021, 11:32:25 PM
If you want to guarantee that the "approver" cannot spend on their own, an alternative might be to implement shamir shared secret. The workflow might be as follows:
What benefit does this have over a 2-of-2 multisig?
I would echo Dave's concerns about "protecting" children's money. If your child is growing up, as a parent, you need to "let" them fail so they will learn.

In my example, only two people were mentioned, but in reality, the number of people involved could be in the dozens, and there could be more than one required person making the request, and more than one person required to approve the request, and these people must come from distinct groups of people. Say for example, there is a team of 24 team members managed by three managers. The company might require that three employees request a transaction, and it must be approved by two managers. The employees could have a 3 of 24 secret that could be one of two secrets that are required to access a private key. Each of the three managers could have one secret that is part of a 2 of 3 secret that would e the other of the two secrets required to access the private key.

Having 24 team members would not be possible with multi-sig, and requiring a certain number of signatures from y distinct groups is also not possible with multi-sig.

So I guess a 2-of-2 multi-sig would be better than my simple example, but shamir shared secret is superior to more complex scenarios that might be more realistic in the corporate world.

Employee turnover is another risk to multi-sig. Anytime an employee leaves the company (especially if they are fired), the company would need to move their bitcoin to a new multi-sig address to reduce the risk their bitcoin will be stolen by a combination of rouge ex-employees.

This will change with taproot, but currently, multi-sig requires more block space.

I don't understand why people keep recommending Shamir if we can have multisig. It has so many downsides; just a few in the example from Quickseller:

* both entities must be at the same place & same time
* way more complex (need airgapped computer, load keys on it, etc.)
* way less secure (full private key will be on that machine in that moment - one can grab it and run etc.)
* much more knowledge required (verify the drive is wiped and all those steps)
If certain security measure are taken to ensure no one has physical access to the computer, and that anytime someone accesses the room where the computer is physically located that power is cut to the computer (wiping its RAM), an alternative might be to SSH, or otherwise remotely connect to the computer with the script that calculates the private key. This obviously comes with the pitfalls related to keeping your private keys on a non-airgapped computer. You might be able to reduce the risks somewhat by keeping the computer on a private network, and restricting which computers can connect to the private network.

Without allowing SSH/remote access to the airgapped computer, precautions could be taken to prevent a "smash and grab" theft, such as bolting the computer to the ground, remote camera monitoring of the room the computer is located in, and being required to be "buzzed" out of the room when you have signed the transaction, and probably others.
218  Bitcoin / Wallet software / Re: Wallet Features That Are Missing but Essential on: November 06, 2021, 03:54:23 PM
Goal:

Basically, I am trying to have a wallet that has 2 users with 1 of the users being the admin essentially. User 1 (admin) creates the wallet and stores the recovery words offline or whatever. User 2 has access to the wallet but can only send crypto out with 2FA obtained from User 1. A pin won't work because then withdrawals can be done whenever User 2 wants, the withdrawal basically has to be agreed by both but User1 with more power per see.


Use Cases:

If a parent wants to monitor kids spending (considering crypto is used as dollars would be in this scenario) then the kid takes out his phone checks his app to see if he has enough money for the candy he wants then pays with his crypto but to send it she needs to call mommy or daddy to get the OTP (google auth) code to be able to send. A pin/passcode lock would enable the child to buy candy whenever she wants and if the wallet app reveals your recovery words the child will just recover her words in another wallet.
A better use case might be an employee having a budget, but needs some kind of approval from his boss to spend any money.

Realistically, the best solution would be a watch only wallet in a way somewhat similar to how n0nce described above. Although this scenario would mean that the boss, or approving authority would have complete control over the private keys.

If you want to guarantee that the "approver" cannot spend on their own, an alternative might be to implement shamir shared secret. The workflow might be as follows:
*The employee proposes a transaction
*The approver reviews and approves the transaction
*The transaction is loaded onto an offline computer
*The employee and approver review the transaction to confirm it is the same as the one being proposed/approved
*The employee and approver loads their secret onto the offline computer, which passes both secrets through a script that takes the following as inputs:
~secret 1
~secret 2
~transaction to be signed
*The script outputs the signed transaction, and the signed transaction is transmitted back to the employee who broadcasts the transaction to the bitcoin network
*The employee and approver both personally confirm that the RAM is cleared/wiped from the offline computer, removing their respective secrets from said computer
219  Other / Meta / Re: Merit & new rank requirements on: November 05, 2021, 10:11:38 PM
I don’t know if it is true that people are selling merit for $20/each
I remember that number from this post.

Quote
If there is truth to that, I would say it is evidence of a market that is not vibrant and inefficient. I would see that as a good thing because it shows that it is difficult to trade merit.
I'm pretty sure Merit sales happen, but only for small amounts. Not many people have enough sMerit to rank someone up to a higher rank, and nobody is going to pay any significant amount per sMerit if they need 1000 of them.
I think most merit sales generally stick out like a sore thumb. For example, whenever I see someone with one merit and 1000+ posts, I assume they bought their single merit. Or when I see an OP of some project, I assume they bought their merit. I also see some people with zero merit, 1000+ posts, and a copper membership.

I am not terribly concerned with someone buying a single merit. Someone ranking up to a junior member isn’t going to hurt anyone. My guess is that they want to avoid having to wait 6 minutes between their bounty posts.

Maybe Theymos could offer a lower version of a paid membership that is less expensive than a copper membership, maybe it could be called “bounty spammer”, cost $20 (in BTC) and give those who are wearing it the same abilities that a junior member has.
220  Other / Meta / Re: Merit & new rank requirements on: November 05, 2021, 08:18:59 PM



I do not approve of people selling their merit
I really don't get that some people are willing spend up to $20 per Merit. It would be much cheaper to hire a writer and "earn" Merit that way.
I don’t know if it is true that people are selling merit for $20/each, or if they are if they are able to actually get that much. If there is truth to that, I would say it is evidence of a market that is not vibrant and inefficient. I would see that as a good thing because it shows that it is difficult to trade merit.

I am not sure what has caused this. I think most likely, it is the result of self regulation and Theymos doing a good job of selecting merit sources who will not only refrain from selling merit, but also who will send merit to posts that are deserving of merit. Those who are capable of making good posts on bitcointalk, generally will have other skills that will allow them to make money by doing things other than selling merit.
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 54 55 56 57 58 59 60 61 ... 753 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!