Bitcoin Forum
April 24, 2024, 02:31:52 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: вопрос про поиск транзакции  (Read 1586 times)
icreator (OP)
Legendary
*
Offline Offline

Activity: 1554
Merit: 1008



View Profile WWW
September 23, 2013, 12:56:21 PM
 #1

Привет

стоит задача найти на какой адрес в кошельке упала сумма

допустим в кошельке 1000 адресов
за время Х пришли какието платежи
сервер допустим упал или кошелек не синхронизировался, поэтому
 надо быстро понять когда сервер включился на какой из адресов пришли деньги - так чтобы все 1000 адресов не перебирать

Erachain Blockchain is fully ready for use Digital Ecosystem based on blockchain technology for business and government with low transaction costs, identification and built-in functions.
+Decentralized exchange of tokens in Erachain
"This isn't the kind of software where we can leave so many unresolved bugs that we need a tracker for them." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713925912
Hero Member
*
Offline Offline

Posts: 1713925912

View Profile Personal Message (Offline)

Ignore
1713925912
Reply with quote  #2

1713925912
Report to moderator
pulsecat
Full Member
***
Offline Offline

Activity: 220
Merit: 100



View Profile WWW
September 23, 2013, 01:29:16 PM
 #2

Проще простого:
Code:
listtransactions 	[account] [count=10] [from=0] 	Returns up to [count] most recent transactions skipping the first [from] transactions for account [account]. If [account] not provided will return recent transaction from all accounts. 

Отсюда https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_Calls_list

CryptoTrader.org - Cloud-based Automated Trading on Bitstamp/BTC-E/CEX.IO/Bitfinex/Kraken | Discussion topic at Bitcointalk.org | Automated Trading Contest (Prize 2 BTC)
icreator (OP)
Legendary
*
Offline Offline

Activity: 1554
Merit: 1008



View Profile WWW
September 24, 2013, 07:19:48 AM
 #3

она не дает поступившие платежи - только те что добыты или отправлены кому-то

Erachain Blockchain is fully ready for use Digital Ecosystem based on blockchain technology for business and government with low transaction costs, identification and built-in functions.
+Decentralized exchange of tokens in Erachain
pulsecat
Full Member
***
Offline Offline

Activity: 220
Merit: 100



View Profile WWW
September 24, 2013, 07:32:09 AM
 #4

Новый взгляд на API? У меня почему то все дает, а именно транзакции в категории "receive".

CryptoTrader.org - Cloud-based Automated Trading on Bitstamp/BTC-E/CEX.IO/Bitfinex/Kraken | Discussion topic at Bitcointalk.org | Automated Trading Contest (Prize 2 BTC)
anonymous_acc
Sr. Member
****
Offline Offline

Activity: 322
Merit: 250



View Profile
September 25, 2013, 01:48:26 PM
 #5

icreator, три вида даёт, первый - generated, второй - send, третий - receive

BTC: 1HRcwjxG2H5vSnNo5ZbGqMxRPFWJk6dwW9
icreator (OP)
Legendary
*
Offline Offline

Activity: 1554
Merit: 1008



View Profile WWW
September 26, 2013, 06:06:01 AM
 #6

да точно просто я в питоне задал параметр аккаунт = '' и он выдал не все транзакции а только у счета с пустым именем
хотя в описании написано все должен был выдать. а значение None не пропускает (

а еще почему-то не пашет команда move - со своего аккаунта на свой аккаунт перевести не получается

Erachain Blockchain is fully ready for use Digital Ecosystem based on blockchain technology for business and government with low transaction costs, identification and built-in functions.
+Decentralized exchange of tokens in Erachain
icreator (OP)
Legendary
*
Offline Offline

Activity: 1554
Merit: 1008



View Profile WWW
September 26, 2013, 12:09:29 PM
 #7

что значит параметр ['vout'] в таблице из listunspent () ?

и можно ли с помощью listunspent посчитать балансы на аккаунтах?

Erachain Blockchain is fully ready for use Digital Ecosystem based on blockchain technology for business and government with low transaction costs, identification and built-in functions.
+Decentralized exchange of tokens in Erachain
icreator (OP)
Legendary
*
Offline Offline

Activity: 1554
Merit: 1008



View Profile WWW
September 27, 2013, 06:04:37 AM
Last edit: September 27, 2013, 11:22:26 AM by icreator
 #8

listtransactions    [account] [count=10] [from=0]

при попытке взять для всех аккаунтов все проводки - выдает ошибку
value type is null, expectes str

как быть? как взять скажем 33 транзакции начиная с 66-й?

json.dumps({'pars':(None, 10, 1)}) выдает правильный результат - вместо None пишет null в параметры
получается что в АПИ биткоина недоработка?

как узнать какую комиссию потребует сеть?
иногда вываливается окошко что надо заплатить ХХ за такую транзакцию.. от чего зависит? длинна же данных всегда одинаковая..

Erachain Blockchain is fully ready for use Digital Ecosystem based on blockchain technology for business and government with low transaction costs, identification and built-in functions.
+Decentralized exchange of tokens in Erachain
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!