Avatar
bitcoin_notebook
de82b21941f4b33e1851d46f3f001b88fc2f5ac32c439f37ebfb968d4ea70c86
bitcoin study notes

Relay พี่ตี๋ดับไปแล้ว มาช่วยกันคิดไหมครับ ว่าทำยังไงให้ relay มีรายได้ จะได้จัดสเปค server เร็วๆ แรงๆ มี storage เยอะๆ

รันในนามสถานศึกษาไหมครับ แล้วให้เอกชนบริจาคจะได้เอาไปหักภาษีได้ เอาชื่อไปแปะใน NIP-11 อุทิศให้… อะไรแบบนี้ 555

#siamstr

จากเพลง imagine คิดว่า john lennon จะเป็น bitcoiner ไหมครับ #siamstr

จากเพลง imagine คิดว่า john lennon จะเป็น bitcoiner ไหมครับ

The right to exit implies that a person has the capacity to make a personal decision and this in turn presupposes at least a level of minimal autonomy or personal independency.

bitcoin เขียนด้วยภาษา c++

source code อยู่ที่

https://github.com/bitcoin/bitcoin

ศึกษาการเขียน c++

https://youtu.be/8jLOx1hD3_o?si=EklUJOQUqBhP5qAP

การจะเขียนภาษา c++ ได้ต้องมี 2 อย่าง คือ

1. ide เอาไว้เขียน code ใช้ vs code

2. compiler มีหน้าที่เอา code ที่เราเขียนเป็นภาษา c++ ไป compile (แปล) เป็นภาษาเครื่อง (machine language) เพื่อให้เครื่องทำงานตามที่เราต้องการ ต่าง os ต่าง processor ก็จะมี format ต่างกัน

ควร test program ของเรากับหลายๆ compiler เพื่อให้มั่นใจว่า program ของเราจะสามารถนำไปใช้ได้ในหลาย platform

windows : mingw, msvc, clang llvm

linux : gcc

ดูว่า compiler ไหน support feature อะไรบ้าง

https://en.cppreference.com/w/cpp/compiler_support

download mingw + clang llvm

https://winlibs.com/ -> extract to C:\ -> add env path

test

g++ --version

clang++ --version

Install Visual Studio -> desktop development with c++

test

cl.exe

short note จากการศึกษา bitcoin วันละ 1 ชม. สวัสดี