issues
search
airbloc
/
airbloc-go
Airbloc Core Implementation using Go
https://airbloc.org/
Apache License 2.0
27
stars
10
forks
source link
[ABRLO-12] 기본 구조 짜기
#128
Closed
byeongsu-hong
closed
4 years ago
byeongsu-hong
commented
4 years ago
feePayerClient/Transact에서 이제 txHash를 받습니다.
MakeTransaction과 MakeTransactionData를 분리했습니다.
이렇게 해서 Session에서 Data를 만든 뒤, feePayer와 type을 조작하여 feePayerAddress가 없이도 보낼 수 있게 되었습니다.
WaitMinedWithHash, WaitMined 분리
이제부터 SendRawTransaction을 사용하기 때문에, WatMinedWithHash를 추가적으로 만들었습니다.
bind.WaitMind를 Client struct에 internal함수로 넣어 사용합니다. (Client.logger 사용가능)
SendTransaction과 WaitMined 합체 (bind)
SendTransaction의 리턴값이 이제 (*types.Receipt, error)가 됩니다.
Testing