Chinjanai mheni dzemari pa-cheni mari -

in hinjanai •  3 years ago 

Unhu hweKunzeKey hunoshandiswa kugadzirisa kiyi yekune imwe nyika muhukama pakati pezvikamu zviviri muEF 6 neEF Core. Iyo inodarika iyo yakasarudzika magungano. Sezvinoenderana nekokorodzano yekusarudzika, EF inogadzira chivakwa senge yekune imwe kiyi chivakwa kana zita rayo richienderana neyekutanga kiyi chivakwa chesangano rakabatana.

ForeignKey siginecha: [ForeignKey (zita tambo)]

name: Zita reiyo inosanganisirwa chivakwa chivakwa kana zita rehukama hwekunze kiyi (s).
Funga nezve unotevera muenzaniso wehukama-kune-huzhinji pakati pezvinhu.

uchishandisa System.ComponentModel.DataAnnotations.Schema;

yeruzhinji kirasi Mudzidzi
{
pachena int MudzidziID {tora; set; }
tambo yeruzhinji StudentName {tora; set; }

// Kiyi yekune dzimwe nyika yeStandard
pachena int StandardId {tora; set; }
yeruzhinji Standard Standard {get; set; }
}

yeruzhinji kirasi Standard
{
pachena int StandardId {tora; set; }
tambo yeruzhinji StandardName {tora; set; }

yeruzhinji ICollection Vadzidzi {kuwana; set; }
}
Semuenzaniso uri pamusoro unoratidzira hukama-kune-hwakawanda pakati pezvikamu zveVadzidzi neyakajairwa. Kumiririra hukama uhwu, Kirasi yeVadzidzi inosanganisira chivakwa StandardId chine chirevo chepfuma Standard, uye iyo Standard bhodhi kirasi inosanganisira kuunganidza kufamba kwepfuma Vadzidzi. Zita rezvivakwa StandardId muvadzidzi chikamu chinowirirana neyekutanga kiyi chivakwa cheStand chinhu, saka StandardId muVadzidzi mubato inozozoita yekune imwe nyika kiyi chivakwa uye inoenderana kholamu iri db tafura ichavewo yekune imwe kiyi koramu, sezvakaratidzwa pasi apa.

Bhizimusi Sisitimu kodhi-yekutanga muenzaniso
Iyo [ForeignKey] hunhu hunodarika musangano wakasarudzika wekiyi yekunze Iyo inotibvumidza isu kudoma iyo yekune kiyi chivakwa chivakwa mune inoenderana chinhu zita rine zita risingapindirane neiyo yekutanga kiyi chivakwa chechinhu chikuru chinhu.

Iyo [ForeignKey (zita)] hunhu hunogona kuiswa munzira nhatu:

[ForeignKey (NavigationPropertyName)] pane yekunze kiyi scalar chivakwa mune inoenderana chinhu
[ForeignKey (ForeignKeyPropertyName)] pane inoenderana nzvimbo yekufambisa nzvimbo mune inoenderana nhengo
[ForeignKey (ForeignKeyPropertyName)] panzvimbo yekufambisa iri muchikamu chikuru
[ForeignKey] pane yekunze kiyi midziyo mune inoenderana chinhu
Iyo [ForeignKey] pane yekunze kiyi chivakwa mune inoenderana chikamu uye inoenderana yekufamba zita zita reimba inogona kudomwa se paramende sezvakaratidzwa pazasi.

uchishandisa System.ComponentModel.DataAnnotations.Schema;

yeruzhinji kirasi Mudzidzi
{
pachena int MudzidziID {tora; set; }
tambo yeruzhinji StudentName {tora; set; }

[ForeignKey ("Yakajairika")]
pachena int StandardRefId {tora; set; }
yeruzhinji Standard Standard {get; set; }
}

yeruzhinji kirasi Standard
{
pachena int StandardId {tora; set; }
tambo yeruzhinji StandardName {tora; set; }

yeruzhinji ICollection Vadzidzi {kuwana; set; }
}
Mumuenzaniso uri pamusoro, iyo [ForeignKey] hunhu hunoshandiswa paStandRefId uye yakatsanangurwa muzita renzvimbo yekufambisa Standard. Izvi zvinogadzira kiyi yekunze koramu yakanzi StandardRefId mune yeVadzidzi tafura, ichitadzisa kuburitswa kweStarId ikholamu mudhatabhesi.

Bhizimusi Sisitimu kodhi-yekutanga muenzaniso
Kushambadzira
[ForeignKey] pane yekufambisa nzvimbo mune inoenderana chinhu
Iyo [ForeignKey] hunhu hunogona kuiswa kune yekufambisa chivakwa uye inoenderana yekunze kiyi zita chivakwa inogona kutaurwa sezvakaratidzwa pasi apa.

uchishandisa System.ComponentModel.DataAnnotations.Schema;

yeruzhinji kirasi Mudzidzi
{
pachena int MudzidziID {tora; set; }
tambo yeruzhinji StudentName {tora; set; }

pachena int StandardRefId {tora; set; }

[ForeignKey ("StandardRefId")]
yeruzhinji Standard Standard {get; set; }
}

yeruzhinji kirasi Standard
{
pachena int StandardId {tora; set; }
tambo yeruzhinji StandardName {tora; set; }

yeruzhinji ICollection Vadzidzi {kuwana; set; }
}
Mumuenzaniso uri pamusoro, hunhu hwe [ForeignKey] hunoshandiswa paStandard navigation property uye zita reimwe kiyi yekune dzimwe nyika StandardRefId inotsanangurwa. Izvi zvinogadzira kiyi yekunze koramu yakanzi StandardRefId mune yeVadzidzi tafura, ichitadzisa kuburitswa kweStarId ikholamu mudhatabhesi.

[ForeignKey] pane yekufambisa nzvimbo mune chikuru chinhu
Iyo [ForeignKey] hunhu hunogona kuiswa kune yekushambadzira chivakwa mune chikuru chinhu uye inoenderana yekunekunze kiyi zita zita chivakwa inogona kudomwa mune inoenderana chikamu, sezvakaratidzwa pazasi.

uchishandisa System.ComponentModel.DataAnnotations.Schema;

yeruzhinji kirasi Mudzidzi
{
pachena int MudzidziID {tora; set; }
tambo yeruzhinji StudentName {tora; set; }

pachena int StandardRefId {tora; set; }
yeruzhinji Standard Standard {get; set; }
}
It attribút ForeignKey wurdt brûkt om in frjemde kaai te konfigurearjen yn 'e relaasje tusken twa entiteiten yn EF 6 en EF Core. It oerskriuwt de standertkonvinsjes. Neffens de standertkonvinsje makket EF in pân as bûtenlânske kaai -eigendom aszita rayo rinoenderana neyekutanga kiyi chivakwa chesangano rakabatana.

ForeignKey siginecha: [ForeignKey (zita tambo)]

zita: Zita rezvivakwa zvinoenderana zvekufamba kana zita reye inoenderana kiyi yekunze (s).
Funga nezve inotevera muenzaniso yehukama-wega-humwe pakati pezvinhu.

Shandisa System.ComponentModel.DataAnnotations.Schema;

yeruzhinji kirasi Mudzidzi
{
pachena int MudzidziID {tora; set; }
tambo yeruzhinji StudentName {tora; set; }

// Kiyi yekune dzimwe nyika yeStandard
pachena int StandardId {tora; set; }
yeruzhinji Default Zvakasarudzika {tora; set; }
}

yeruzhinji kirasi Standard
{
pachena int StandardId {tora; set; }
tambo yeruzhinji Default zita {tora; set; }

yeruzhinji ICollection Vadzidzi {kuwana; set; }
}
Muenzaniso uri pamusoro unoratidza hukama-pa-hwakawanda hukama pakati peMudzidzi neyakajairika masangano. Kumiririra hukama ihwohwo, Kirasi Yevadzidzi inosanganisira chivakwa StandardId chine chirevo chivakwa Standard, uye yakajairwa kirasi kirasi inosanganisira kuunganidzwa kwekutenderera zvivakwa Vadzidzi. Zita rezvivakwa StandardId mubato Mudzidzi rinoenderana neakakosha kiyi chivakwa cheStand chinhu, saka StandardId mubato Mudzidzi inozoita yega kiyi yekune imwe nzvimbo uye inowirirana ikholamu mune db tafura ichavewo yekune imwe kiyi koramu, senge inoratidzwa pazasi.

Yesimba Sisitimu kodhi yekutanga muenzaniso
Iyo [ForeignKey] hunhu hunodarika musangano wakasarudzika wekiyi yekune dzimwe nyika Iyo inotiratidza isu muridzi wekiyi yekune imwe nyika mune inoenderana chinhu zita rine zita risingaenderane nekiyi kiyi chivakwa chevabereki mubato.

Iyo [ForeignKey (zita)] hunhu hunogona kuiswa munzira nhatu:

[ForeignKey (NavigationPropertyName)] pane chakayerwa chivakwa chekunze kiyi mune inoenderana chinhu
[ForeignKey (ForeignKeyPropertyName)] pane inoenderana nzvimbo yekufambisa nzvimbo mune inoenderana nhengo
[ForeignKey (ForeignKeyPropertyName)] panzvimbo yekufambisa iri muchikamu chikuru
[ForeignKey] pane yekunze kiyi midziyo mune inoenderana chinhu
Iyo [ForeignKey] pane yekunze kiyi chivakwa mune inoenderana chinhu uye rakabatana zita rekufambisa zvivakwa rinogona kudomwa se paramende sezvakaratidzwa pazasi.

Shandisa System.ComponentModel.DataAnnotations.Schema;

yeruzhinji kirasi Mudzidzi
{
pachena int MudzidziID {tora; set; }
tambo yeruzhinji StudentName {tora; set; }

[ForeignKey ("Default")]
pachena int StandardRefId {tora; set; }
yeruzhinji Default Zvakasarudzika {tora; set; }
}

yeruzhinji kirasi Standard
{
pachena int StandardId {tora; set; }
tambo yeruzhinji Default zita {tora; set; }

yeruzhinji ICollection Vadzidzi {kuwana; set; }
}
Mumuenzaniso uri pamusoro, iyo [ForeignKey] hunhu hunoshandiswa kune iyo StandardRefId uye yakatsanangurwa muzita reNavigation chivakwa Default. Izvi zvinogadzira kiyi yekunze koramu yakanzi StandardRefId mune tafura yeVadzidzi, ichitadzisa kuburitswa kweStarId ikholamu mudhatabhesi.

Yesimba Sisitimu kodhi yekutanga muenzaniso
Kushambadzira
[ForeignKey] pane yekufambisa nzvimbo mune inoenderana chinhu
Iyo [ForeignKey] hunhu hunogona kuiswa kune yekufambisa chivakwa uye rakabatana zita rekunze kiyi chivakwa inogona kutsanangurwa sezvakaratidzwa pasi apa.
Mhoroi mose. Nhasi ndichaongorora basa rePurofesa paMheni Network.

Q1. Tsanangura iwe unorevei ne Mheni Network, Mheni Node, Mheni Chiteshi? Inoita sei kuti igadzirise nekukasira, kugadzirisa kusingaperi? Ndezvipi zvinoshandiswa zvakasiyana?
Mheni Network
Kutsanangura mheni network, isu tinofanirwa kutanga tanzwisisa matambudziko akange akamiririrwa neBitcoin network. Sezvo isu tese tichiziva, Bitcoin inoshandisa PoW chibvumirano nzira yekuona zviitiko. Kunyangwe izvi zvakanaka zvekuchengetedza network seyese, zvinoshandisa simba rakawanda. Zvakare, bitcoin zvakare ine muganho weanogona kuita manomwe kutengeserana pasekondi.

Ichi chiyero chakaderera chekutenga hachina kukwana kuti titungamire kune vakawanda kuitirwa. Izvi zvakave pachena mu2017 patakange tine kudiwa kukuru kweBitcoin uye izvi zvakatungamira kune yakakura mutengo wekutenga uye yekumirira nguva yemazuva yekusimbiswa pa-cheni. Naizvozvo, micro-transaction paBitcoin iri kuuraya.

Kugadzirisa dambudziko iri, mhinduro dzakasiyana dzakakurudzirwa. Imwe yemhinduro dzakadai yaive pfungwa yemagetsi network- Yechipiri dura mhinduro yeBitcoin. Nechiiri chechipiri chekubhadhara muripo panzvimbo, unogona kubhadhara zvakaderera se1 satoshi pane yeBitcoin network. Kushandisa mari shoma iyi pawebsite yeBitcoin kwaizokudhurira $ 5- $ 10 chete mumitengo yezvicherwa.

Mheni network inokwanisa kuunza iko kuvandudzwa nekukanda zvese zvinoshandiswa kune yechipiri dura / cheni. Izvo zvakati, vashandisi vazhinji vanogona kushandisa iyi dura kuita zviuru zvekutengesa. Pakupedzisira, rekodhi imwe chete yemabhizimusi ekupedzisira yaizoburitswa paketani huru. Izvi zvinobatsira kubvisa kuzara padunhu guru. Saka zvinobatsira nekukwanisika.

Mheni Node

Mheni mheni mapfundo ayo akabatana panguva imwe chete kune mamwe magetsi emheni, senge chikuru blockchain. Aya maodhi akabatana kuti agamuchire kutapurirana kubva kune vashandisi uye zviyero zvekupedzisira zvinopedzisira zvaburitswa kuketani huru.
Kubatana kwakananga pakati peanogamuchira nemutepfenyuro hazvingagone kuitika neneti yemheni. Ndokunge, daro rakapfupika pakati pezviviri rakaverengerwa pakadaro.

Mheni Channel

Chiteshi cheMheni chiteshi chinobatanidza mapfundo maviri nemumwe. Chiteshi chinogadzirwa nekukiya imwe nhamba yeBitcoins muchikwama chako paketani huru. Iyi ndiyo mari iyo iwe yawakabvumidzwa kushandisa paMheni network kune kwete / yakaderera fizi.

Inenge yakananga kugadzirisa & Pedyo-isingagumi scalability
Sezvambotaurwa, chiyero chekutengesa paBitcoin network chinononoka. Izvi zvinodaro nekuti ruzhinji rwevashandi vemumigodhi vanofanirwa kusimbisa kutengeserana. Pane iyo Mheni network, chete iwo maviri maodhi akabatanidzwa anofanirwa kuongorora kutengeserana. Izvi zvinokurumidza zvikuru.

Uye zvakare, nekuti iwe unogona kushandisa iyo huwandu hwemari yakatokiyiwa muketani huru, chero mari iri pasi peiyo inowanikwa nyore kuti iwe uite.
Izvi zvinhu zviviri zvakasanganiswa zvinobvumidza angangoita-akanangana transaction uye angangoita-asingagumi scalability.

Kushandiswa kweMheni Network

(1). Wese mutengesi anosanganisa mheni network anoita kuti vatengi vavo vaite zvakanangana neBitcoin.
(2). Micropayments inogona pakupedzisira kuve yechokwadi kuvonga kune Mheni network.
(3). Kugadzira chiteshi cheMheni, mumwe anofanirwa kukiya mari paketani huru. Izvi zvinogona kushanda seimwe nzira kune inotonhora yekuchengetedza mapotifoti.
(4). Iyo Mheni network inogona zvakare kugonesa atomiki swaps pasina kudiwa kweumwe muchengeti sevhisi. Izvi zvakaitwa munguva yakapfuura apo 100 LTC yakashandurwa ye1 BTC.

Q2. Magetsi network inogona sei kugonesa vezera ravo vaviri kuita transaction sekudzokorora kana kuita kwakawanda pasina mutengo wekutengesa? Inoita seisina-cheni kana pa-cheni?
MuMheni chiteshi chiri mu2of2 Multi-Sig chikwama. Sezvatakambokurukura, kuitira kuti tigadzire chiteshi, isu tinotanga toda kuomesa imwe huwandu hwemari pacheni huru. Mari idzi dzinobva dzave kuwanikwa nyore kuti dzizopihwa panhamba yechipiri, i.e. iyo mheni network.

Sezvo mari yatove yakawedzerwa kuketani huru, imwe inongofanirwa kusaina kuti iite off-chain transaction. Nekuti muripo wevashandi vemumigodhi wakange watopihwa pawakatanga kuvhara mari yako pacheni huru, zviitiko zvese zvinodzokororwa zvinoitwa hazviunzi imwe mari yekutenga.

Chinhu chega chekucherechedza apa ndechekuti iyo yakanyanya nguva iwe yaunogona kutapudza inogumira kune huwandu hwemari iri kuuya mari.

Mubvunzo nzira yekubhadhara kuburikidza nepakati node (kana vezera) inova sei yakavanzika neHTLC?
Iyo Mheni Network inoshandisa chibvumirano cheHTLC-smart kuchengetedza zvese zvinoshandiswa. Dzese Mheni chiteshi dzinoitwa padunhu guru uye dzinozobatana. Kana zvisiri zvakananga, saka zvisina kunangana kuburikidza neimwe chiteshi.
Kuti tinzwisise kuti kubhadhara kunoitwa sei, ngatitorei muenzaniso weBitrefill. Mune yangu, mmune node isina kubatana zvakanangana neBitrefill mheni node. Nekudaro, izvo zvakabatana zvisina kunangana.

Ini ndinoshandisa chiteshi cheTrampoline kutumira mari. Kana ndangoisa odha paBitrefsiik, ndinowana invoice hashi yandinofanira kupinda mukero yekugamuchira yechikwama changu. Izvi zvinongoerekana zvazadza munda wetsananguro uine preimage hash. Chete Bitrefill ine kiyi yakavanzika yekuburitsa iyi hash.
Nekudaro, kana ini ndikatumira mari yacho kuburikidza neTrampoline chiteshi, iyo inobatana zvakare neBitrefill, zvakananga kana zvisina kunangana. Nekudaro, nekuti haigone kuita pfungwa yekutarisa, haizokwanise kushandisa mari idzi. Iyo, inoitumira kukero yeBitrefill uko inogona kuvhurwa.
Nekuda kwekuti muripo uyu wakaitwa kuburikidza nematanho akabatana, muripo wekutengesa wakakwidzwawo. Nekuti hapana dzimwe nzira dzakabatana dzinogona kuvhura mari, kutengeserana kwese kuburikidza nenzira dzepakati kunochengetwa zvakavanzika.

Q. Seta Lighting Wallet (Gadzira default chikwama, wobva wavhura chiteshi), vhura Lightning Chiteshi neElectrum (Trampoline Node), Phoenix, kana chero chimwe chikwama chisina kuchengetedzwa chinotsigira Lightning Network, ita eCommerce kutenga (sediki- Transaction) ine Mheni Chiteshi, wobva wavhara chiteshi? Inoita fizi here? Izvo zvinorekodha kutengeserana pa-cheni? Kana hongu zviratidze, kana kwete, tiudze kuti nei isina kunyoresa kutengeserana neketani? Chinjana chinobatsira sei kunatsiridza kutumira uye kugamuchira chinzvimbo? (Screenshots inodiwa)

Kuvhura uye Kumisikidza Iyo Mheni Chiteshi neElectrum Wallet -
Kutanga vhura yako Electrum Wallet (default). Zvino tinya pane Channel tebhu. Muchokwadi, iyi tebhu ichave ichionekwa muhomwe yako, kana zvisiri, ingo enda kuTarisa mubar yemenyu, wobva wadzvanya Ratidza Chiteshi.
Zvino tinya paVhura Chiteshi. Pop-up ichaonekwa ichitaura kuti hapana huwandu hwakawanda muMwenje Chiteshi seMheni Network inotsigira sekuyedza muElectrum. Ingotinya bhatani Yes.

Pinda iyo huwandu (hushoma huwandu i2mBTC kana 0.002 BTC yeElectrum Trampoline). Iwe haugone kuvhura iyo Mheni Chiteshi pane ino node kana iwe uine isingasviki 2 mBTC muchikwama chako.
Dzvanya OK.
Wobva waisa password => Rova iyo Bhatani bhatani.

Iye zvino mugero wamiswa zvakakwana. Unogona kuona vezera vari kure izvo zvandaizove nazvo pane inotevera pop-up.
Unogona kusimbisa chiitiko ichi kubva kublockchain mutsvaga. Pano iwe unogona kuona maviri ekubuda. Patakatanga maitiro nekuvhura Lightning Channel nemari yakati wandei, 2 mBTC, nepo huwandu hwakazara muchikwama chedu chiri 2.4548 mBTC. Iyo Bitcoin network inokutadzisa kubva kutumira chikamu, saka Electrum mukati ichagadzira imwe portfolio pane inoburitswa inozivikanwa seKero Shanduko uye iyo yasara bharanzi ichadzokera kuchikwama.
Izvo mushure mekubviswa kwemubhadharo, iyo yasara portfolio bhaluni (0.4498 mBTC) inodzoserwa kumubati wehomwe kuburikidza nekero yekuchinja.

Iye zvino unogona kuona kuti chiteshi chakamiswa, asi Pfupi Chiteshi ini ndichiri kuratidza sekuti haisati yavapo uye chinzvimbo chiri seKuvhura. Kunze kweizvi, iwe unogona zvakare kuona iyo chiteshi ruzivo, senge chiteshi chinzvimbo (2mBTC), inogona kutumira se 1.95556 mBTC, uye Unogona kugamuchira se0, nekuti ini handisati ndaita mutengano parizvino.
Mukutaura, mugero wakavakwa, asi haugone kushandiswa. Iyo chiteshi ichazoshandiswa mushure mekusimbiswa katatu.

Iye zvino unogona kucherechedza kuti Chiteshi Chimiro zvachinja kuva Vhura, zvinoreva kuti zvisimbiso zvitatu zvapera. Ipfupi chiteshi ini ndinoratidzwawo. Mheni Chiteshi yave kushandiswa uye kutengeserana.

Nekuti ichi chiri chechokwadi Mheni Chiteshi, zviitiko zvinogona kuitirwa pairi. Uye nekuti maitiro ekugadzira chiteshi akaitika pa-cheni network, chiitiko ichi chinogona kungotariswa paBlockchain Explorer.

Gadzira e-commerce kutengeserana neMheni Channel -
Ingoshanyira https://www.bitrefill.com, uye tinya Bhurawuza Zvigadzirwa. Pane bitrefill, zvigadzirwa zve4000 + zviripo.
Zvino sarudza chero chigadzirwa, kadhi rechipo, sezvaunoda. Pano ini ndakasarudza VI (network opareta), kune yangu dhata yekuisa. Zvino zadza ruzivo runodiwa muminda yakapihwa s.k. Foni Nhamba & Mari. Dhinda bhatani reKutenga.

Iye zvino pop-up ichaonekwa ichikukumbira iwe kutenga kana kubhadhara. Ingotinya Tarisa Kunze kuti usimbise odha.
Pinda email yako ini yandinoda kuitira mamiriro ekugadzirisa => Dzvanya bhatani reConfirm.

Zvino sarudza nzira yekubhadhara seMheni Network (Kubva pane zvinodiwa nebasa racho).
Iye zvino chimiro chitsva chichaonekwa neese madhaidhi eodha uye kodhi yeQR. Rega iyo QR kodhi iratidzike seizvi. Ingotinya bhatani reKopa pazasi peiyo Qr kodhi. Ichakuratidza iyo Mheni Invoice pane popup. Kopa iyo uye dzokera kuElectrum chikwama.

Zvino enda kuBhatani bhatani pane yako Electrum chikwama. Pinda invoice yekuraira kwako mu / nzvimbo mumunda Bhadhara. Huwandu uye tsananguroanozadzwa otomatiki.
Dhinda bhatani reKubhadhara. Wobva wadzvanya Hongu kuti usimbise kutengeserana. Iwo marongero arikuitwa.

Zvichitaurwa zviri nyore, odha yacho ichazadziswa pasina nguva. Chaizvoizvo mheni. Zvino enda kuChannel tab => Unogona kucherechedza kuti simba rekugamuchira rechiteshi rakagadziridzwa sezvawakashandisa kusvika ikozvino.

Dzvanya iyo Nhoroondo tebhu kuti uone nhoroondo uye chimiro chechiitiko chawakaita. Unogona kucherechedza pano kuti inoratidza nhoroondo yezvinhu zviviri zvee-commerce zvakatengwa muchikwama changu.
Hongu, zvirokwazvo zvakanaka, nekuti ini ndatenga zvinhu zviviri zve e-commerce kusvika parizvino kuti ndiwedzere kugona kwekugamuchira makwara. Zvakare nekuda kwenzvimbo yekugamuchira haina kuvandudzwa / kuratidzwa nekuda kwemari shoma mukutenga kwekutanga.

Uye heano maemail kubva kuBitrefill's maviri e-commerce kutenga. Nekuti ndakashopa zvakanaka kaviri.

Vhara chiteshi

Enda kuChannel tab. Yako Mheni Chiteshi inoratidzwa. Kanda-kurudyi pane chiteshi => Dzvanya paVhara chiteshi.
Iye zvino zvinokutora iwe kuenda kune inotevera interface, ingori bhatani Yes kuti uvhare chiteshi.
Pop-up ichaonekwa ichitaura kuti chikwama chakavharwa,

Iye zvino unogona kuona kuti chinzvimbo zvachinja kuva Kuvhara / Kuvhara, Izvi zvinoreva kuti maitiro ekuvhara nyaya achiri kuenderera. Mushure mezvisimbiso zvinodiwa, nyaya yacho ichavharwa zvachose.
Iye zvino unogona kuona chinzvimbo zvachinja muKakiiwa.

Iye zvino chiyero chekupedzisira chegwara, sekutenga kwekupedzisira, chinodzoserwa kune yangu portfolio kuburikidza nekero yekuchinja uye yakasungwa nengetani.
Kuti utarise izvi, enda kune iyo Kero kero. Uye tarisa Shanduko kero (yakasimbiswa yeyero).
Kana Ingo enda kuiyo Nhoroondo tebhu. Dzvanya-kurudyi pane yekugadzirisa kutengeserana (Vhara chiteshi). Dzvanya Kuona Transaction. Zvino teedzera kutengeserana kwandingaite.
Edza Blockchain Explorer => Isa mutengano wandinoda. Iye zvino unogona kuona ruzivo rwese nezve chiitiko ichi paBlockchain Explorer (pa-cheni).

Inoita fizi here?

Ehe, zvinoita mari. Asi zvinoenderana nekutengeserana kuti imarii yaachabhadhara pakutenga ikoko. Semuenzaniso, sekutaura kwandamboita (mubvunzo 3), ndakatenga zvigadzirwa kubva kuBitrefill. Uye nekuti ini ndaive ndisina kubatana zvakanangana nere bitrefill, bhatani re trampoline raibatanidzwa semurevereri mune iyi kesi. Kuti iyo Trampoline node ichachaja imwezve mari semubhadharo wekuita uyu muripo. Uye nekuda kwekuti chiitiko ichi chakanyoreswa-cheni, zvinounza mari isingakoshi.
Kuti mumabasa maviri (Commitment Transaction) ye bitrefill mari yacho ndeinotevera-
Txn
Mutengo wekutengesa (mBTC)
Bitrefill Txn 1
0.00003 mBTC
Bitrefill Txn 2
0.00004 mBTC

Bitrefill Txn 1

Bitrefill Txn 2

Kune rimwe divi, Izvo zvinokanganisa mimwe mibairo muchimiro chemari yekubhadharira mari yekubhadhara mashandisirwo nekutengesa kwekugara, izvo zvakanyoreswa pacheni. Iwe unogona kugadzirisa iyo mubhadharo nekumisikidza iyo rate pa byte iyo iwe yauri kuda kubhadhara kune ino yekutengesa.

Izvo zvinorekodha kutengeserana pa-cheni?

Kwete, zvese hazvitore rekodhi muketani. Chekutanga uye chekupedzisira zviitiko zvinonyoreswa pane-cheni. Iwo ma transaction atinoita pamheni network yakanyorwa kure-cheni, ndizvozvo, zvakanyorwa munhoroondo yemheni portfolio. Izvi zvekutengesa zvakare hazvina rekodhi pane yakakosha cheni. Tinogona chete kutarisa izvi kubhadhara muhomwe yemheni. Paunovhara chiteshi, kunze kwekupedzisira bheji transaction, zvimwe zvese zvinova zero uye zvisina chinhu kune Bitcoin network. Mamiriro ekupedzisira eiyo chiteshi (kuvhara chiteshi) anozivikanwa neBitcoin network.

Chinjanai basa

Chinjana chinongedzo ndechimwe chinhu chinobatsira cheElectrum chikwama. Icho chinhu chinobatsira, chinobvumira mutengi kufambisa homwe pa-cheni asina kuvhara chiteshi. MuLN Channel, haugone kudzosera homwe muhomwe yako kunze kwekunge waivhara. Nekuva nechinongedzo chinhu iwe chaunogona kuita pasina chinodikanwa chekuvhara chiteshi kuitira kuti chiteshi chigare chakaramba chiripo, chichiita kubatana nevatengi base. Uye kune inogara iripo yakanaka kuyerera kwemari kumakambani, nekuti mutengi anogona nyore kuchinjisa iyo LN homwe kune ye-ketani homwe.
Basa rekutsinhana harina zvazvinoita pane chiteshi, asi zviri nani kunatsiridza uye kugona kugona kwechiteshi.
Kune mhando mbiri dzekuchinja:
LN kune On-cheni-iyo inouya inokwana
On-cheni kune LN-- ichavandudza chinobuda chinzvimbo

Chinjanai mheni dzemari pa-cheni mari -
Ichi chimiro chinosimudzira kugona kwekugamuchira kweiyo Mheni chiteshi.
Enda kuChannel tab. Dzvanya bhatani rekuchinjana.
Pane inotevera interface Pinda iyo mari yaunoda kuchinjana. Wobva wadzvanya OK. Nekuchinjana uku ndiri kutumira 0.1 mBTC yandinogashira 0.08971 mBTC.
Ziva, iro rekugamuchira simba rekutsinhana iri 0,05071 mBTC uye yakazara portfolio bhora
Shandisa System.ComponentModel.DataAnnotations.Schema;

yeruzhinji kirasi Mudzidzi
{
pachena int MudzidziID {tora; set; }
tambo yeruzhinji StudentName {tora; set; }

pachena int StandardRefId {tora; set; }

[ForeignKey ("StandardRefId")]
yeruzhinji Default Zvakasarudzika {tora; set; }
}

yeruzhinji kirasi Standard
{
pachena int StandardId {tora; set; }
tambo yeruzhinji Default zita {tora; set; }

yeruzhinji ICollection Vadzidzi {kuwana; set; }
}
Mumuenzaniso uri pamusoro, hunhu hwe [ForeignKey] hunoshandiswa kuStandard Navigation chivakwa uye zita reimwe kiyi yekune dzimwe nyika StandardRefId inotsanangurwa. Izvi zvinogadzira kiyi yekunze koramu yakanzi StandardRefId mune tafura yeVadzidzi, ichitadzisa kuburitswa kweStarId ikholamu mudhatabhesi.

[ForeignKey] munzvimbo yekufambisa iri muchikamu chikuru
Iyo [ForeignKey] hunhu hunogona kushandiswa kune iyo yekushambadzira pfuma mune hombe chinhu uye zita rakabatana rekunze kiyi chivakwa inogona kutaurwa mune inoenderana chikamu, sezvakaratidzwa pazasi.

Shandisa System.ComponentModel.DataAnnotations.Schema;

yeruzhinji kirasi Mudzidzi
{
pachena int MudzidziID {tora; set; }
tambo yeruzhinji StudentName {tora; set; }

pachena int StandardRefId {tora; set; }
yeruzhinji Default Zvakasarudzika {tora; set; }
}

yeruzhinji kirasi Standard
{
pachena int StandardId {tora; set; }
tambo yeruzhinji Default zita {tora; set; }

[ForeignKey ("StandardRefId")]
yeruzhinji ICollection Vadzidzi {kuwana; set; }
}
Mumuenzaniso uri pamusoro, hunhu hwe [ForeignKey] hunoshandiswa kune yeVadzidzi Navigation chivakwa mune chikuru chinzvimbo Standard. Izvi zvinogadzira yekune imwe kiyi koramu StandardRefId yn 'e Studintetabel yn' e database.
yeruzhinji kirasi Standard
{
pachena int StandardId {tora; set; }
tambo yeruzhinji StandardName {tora; set; }

[ForeignKey ("StandardRefId")]
yeruzhinji ICollection Vadzidzi {kuwana; set; }
}
Mumuenzaniso uri pamusoro, hunhu hwe [ForeignKey] hunoshandiswa paVadzidzi veviga

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!