Bitcoin Forum
May 24, 2024, 06:43:12 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How to manage transaction for web-wallet with PoS?  (Read 513 times)
mr.tall (OP)
Newbie
*
Offline Offline

Activity: 10
Merit: 0


View Profile
September 05, 2017, 10:51:56 AM
 #1

Hello
I have one issue with users balance.
One my website i need to charge user balance with altcoins.
Flow looks like: check for new transaction, if category receive and if confirmation > 3, find user ID by wallet number, add to DB this transaction and charge user account.
And it's works good for typical PoW coins. But on coins with PoS (ex. BlackCoin) time to time I get transaction for PoS. There is also category receive, but immediately after this receive i get send transaction.
If I don't need this transaction on user history? How I can recognise PoS transaction? What is the best practise?
Casimir1904
Full Member
***
Offline Offline

Activity: 209
Merit: 100


Radix-The Decentralized Finance Protocol


View Profile
September 06, 2017, 12:08:00 AM
 #2

Has nothing to do with bitcoin but I suggest you look at something like "generated" and ignore those Transactions.
Or just disable staking.

   R A D I X   ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬   The Decentralized Finance Protocol
█████████ GET TOKENS █████████    Facebook      Telegram      Twitter
The Radix DeFi Protocol is    SCALABLE SECURE COMMUNITY DRIVEN
mr.tall (OP)
Newbie
*
Offline Offline

Activity: 10
Merit: 0


View Profile
September 06, 2017, 09:14:06 AM
 #3

Has nothing to do with bitcoin but I suggest you look at something like "generated" and ignore those Transactions.
Or just disable staking.
Wow, thank you a lot, thats actually what I exactly need!
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!