Posts by Tags

Blockchain

Hash Time Lock Contract (HTLC)

2 minute read

Published:

Hash Time Lock Contract (HTLC)

First proposed by Lighting Network, this contract allows two participants (e.g., Alice and Bob) to swap their tokens without trusting each other. It can be instantiated by the following script:

IF
  <BKey> CHECKSIGVERIFY
  HASH160 <H> EQUAL
ELSE
  <AKey> CHECKSIGVERIFY
  <ATime> CHECKLOCKTIMEVERIFY
ENDIF

Blockchain hard forks and soft forks

less than 1 minute read

Published:

I found a good elaboration on blockchain forks from Coindesk, that passage illustrates how Blockchain hard/soft forks were created, and what the potential consequnences these forks may bring.

HTLC

Hash Time Lock Contract (HTLC)

2 minute read

Published:

Hash Time Lock Contract (HTLC)

First proposed by Lighting Network, this contract allows two participants (e.g., Alice and Bob) to swap their tokens without trusting each other. It can be instantiated by the following script:

IF
  <BKey> CHECKSIGVERIFY
  HASH160 <H> EQUAL
ELSE
  <AKey> CHECKSIGVERIFY
  <ATime> CHECKLOCKTIMEVERIFY
ENDIF

TLS

TLS Handshakes

less than 1 minute read

Published:

I found a good elaboration on TLS workflows, it explains how TLS Handshake happens and how the two parties interact with each other.

self-introduction

Hello World

1 minute read

Published:

The very first blog on my personal website! In the future, I will use this blog section to share findings during my life, please stay tuned!