Skip to Content
밑바닥부터 시작하는 비트코인
book

밑바닥부터 시작하는 비트코인

by 류정필, 송재준
November 2019
Beginner to intermediate
408 pages
9h 29m
Korean
Hanbit Media, Inc.
Content preview from 밑바닥부터 시작하는 비트코인
밑바닥부터 시작하는 비트코인
368
>>> print(priv.wif(compressed=True, testnet=False))
KwDiBf89QgGbjEhKnhXJuH7LrciVrZi3qYjgiuQJv1h8Ytr2S53a
연습문제
4.7
bytes
형 매개변수를 받아 리틀엔디언으로 읽어서 정수를 반환하는
little
_
endian
_
to
_
int
수를 작성하시오.
def little_endian_to_int(b):
'''little_endian_to_int takes byte sequence as a little-endian number.
Returns an integer’’’
return int.from_bytes(b, ‘little’)
연습문제
4.8
[연습문제
4
.
7
]의 역과정으로 정수를 매개변수로 받아 리틀엔디언으로
bytes
형 값을 반환하는
int
_
to
_
little
_
endian
함수를 작성하시오.
def int_to_little_endian(n, length):
'''int_to_little_endian takes an integer and returns the little-endian
byte sequence of length'''
return n.to_bytes(length, 'little')
연습문제
4.9
여러분만이 아는 긴 비밀키로 테스트넷 주소를 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

밑바닥부터 시작하는 딥러닝

밑바닥부터 시작하는 딥러닝

사이토 고키
실리콘밸리 리더십

실리콘밸리 리더십

김정혜, 마이클 롭

Publisher Resources

ISBN: 9791162248294